Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001827, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.845/2.845, allocations: 437.1 MB / 0.7111 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 68.3 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3225, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00757/0.3301, allocations: 4.703 MB / 1.023 GB, free: 5.93 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7173/1.048, allocations: 150.6 MB / 1.17 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/1.049, allocations: 23.5 kB / 1.17 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008833/1.05, allocations: 185.2 kB / 1.17 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002336/1.052, allocations: 0.5293 MB / 1.17 GB, free: 224 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/1.055, allocations: 0.841 MB / 1.171 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002321/1.057, allocations: 1.375 MB / 1.172 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/1.058, allocations: 0.5323 MB / 1.173 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/1.059, allocations: 472.8 kB / 1.173 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/1.061, allocations: 0.4957 MB / 1.174 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004522/1.061, allocations: 110.2 kB / 1.174 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/1.063, allocations: 0.845 MB / 1.175 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000506/1.064, allocations: 281.8 kB / 1.175 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/1.065, allocations: 0.5382 MB / 1.176 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003444/1.068, allocations: 1.746 MB / 1.177 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.068, allocations: 1.219 kB / 1.177 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.924e-06/1.068, allocations: 0 / 1.177 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.655e-05/1.069, allocations: 0 / 1.177 GB, free: 12.38 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004256/1.073, allocations: 1.457 MB / 1.179 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.073, allocations: 14.41 kB / 1.179 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/1.074, allocations: 205 kB / 1.179 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/1.076, allocations: 0.7345 MB / 1.18 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.783e-05/1.076, allocations: 61.14 kB / 1.18 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/1.076, allocations: 71.91 kB / 1.18 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/1.078, allocations: 0.8941 MB / 1.181 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/1.078, allocations: 0 / 1.181 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.651e-05/1.078, allocations: 33.03 kB / 1.181 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/1.078, allocations: 18.19 kB / 1.181 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/1.081, allocations: 1.131 MB / 1.182 GB, free: 9.305 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004713/1.085, allocations: 2.609 MB / 1.184 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/1.087, allocations: 0.8351 MB / 1.185 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/1.088, allocations: 328.4 kB / 1.186 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.301e-05/1.088, allocations: 35.31 kB / 1.186 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/1.089, allocations: 0.5293 MB / 1.186 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 3.146e-06/1.089, allocations: 0 / 1.186 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82): time 0.003766/1.093, allocations: 1.286 MB / 1.187 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/1.093, allocations: 193.3 kB / 1.188 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009854/1.094, allocations: 0.6426 MB / 1.188 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/1.094, allocations: 42.92 kB / 1.188 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/1.094, allocations: 375.5 kB / 1.189 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/1.095, allocations: 263.5 kB / 1.189 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/1.095, allocations: 173 kB / 1.189 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.095, allocations: 394.3 kB / 1.189 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/1.096, allocations: 302 kB / 1.19 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008213/1.097, allocations: 394.5 kB / 1.19 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/1.098, allocations: 0.6752 MB / 1.191 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/1.098, allocations: 3.469 kB / 1.191 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002411/1.101, allocations: 0.9212 MB / 1.192 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.101, allocations: 7.906 kB / 1.192 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.101, allocations: 2.219 kB / 1.192 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/1.101, allocations: 81.69 kB / 1.192 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007386/1.102, allocations: 176.1 kB / 1.192 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/1.104, allocations: 1.654 MB / 1.193 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.105, allocations: 96.75 kB / 1.194 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.105, allocations: 41.84 kB / 1.194 GB, free: 0.8945 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005638/1.106, allocations: 272.1 kB / 1.194 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/1.106, allocations: 92.62 kB / 1.194 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003/1.109, allocations: 1.208 MB / 1.195 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.109, allocations: 9.344 kB / 1.195 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.109, allocations: 0 / 1.195 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/1.109, allocations: 3.984 kB / 1.195 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/1.111, allocations: 0.9133 MB / 1.196 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.111, allocations: 0 / 1.196 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/1.111, allocations: 164.5 kB / 1.196 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004642/1.112, allocations: 74.66 kB / 1.196 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.346e-05/1.112, allocations: 29.84 kB / 1.196 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/1.114, allocations: 1.676 MB / 1.198 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.114, allocations: 2.688 kB / 1.198 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/1.116, allocations: 1 MB / 1.199 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004934/1.117, allocations: 285.4 kB / 1.199 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/1.117, allocations: 17.09 kB / 1.199 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006717/1.118, allocations: 71.2 kB / 1.199 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/1.118, allocations: 76.11 kB / 1.199 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/1.118, allocations: 41.12 kB / 1.199 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006045/1.119, allocations: 459.8 kB / 1.2 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.119, allocations: 0 / 1.2 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009137/1.12, allocations: 325.6 kB / 1.2 GB, free: 12.3 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001928/1.121, allocations: 0.629 MB / 1.201 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002943/1.124, allocations: 1.112 MB / 1.202 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.124, allocations: 2.75 kB / 1.202 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.126, allocations: 0.5572 MB / 1.202 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/1.127, allocations: 302 kB / 1.203 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/1.13, allocations: 1.717 MB / 1.204 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007138/1.131, allocations: 1.022 MB / 1.205 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/1.131, allocations: 123.4 kB / 1.205 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of SimCode: time 7.82e-07/1.131, allocations: 0 / 1.205 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of Templates: time 0.03002/1.161, allocations: 18.93 MB / 1.224 GB, free: 5.984 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches