Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008553/0.0008553, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007429/0.007429, allocations: 170.4 kB / 16.26 MB, free: 6.676 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.446/1.446, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.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.614/2.614, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003562, allocations: 12 kB / 0.8728 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6848/0.6851, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1783/0.8635, allocations: 158.6 MB / 1.178 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005961/0.8695, allocations: 3.478 MB / 1.181 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006817/0.8703, allocations: 11.94 kB / 1.181 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008905/0.8712, allocations: 242.9 kB / 1.181 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002074/0.8733, allocations: 0.7937 MB / 1.182 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.8744, allocations: 440.2 kB / 1.183 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.8758, allocations: 1.368 MB / 1.184 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.8762, allocations: 279.9 kB / 1.184 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.8768, allocations: 334.5 kB / 1.185 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008349/0.8776, allocations: 334.5 kB / 1.185 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.8777, allocations: 16 kB / 1.185 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.879, allocations: 0.7949 MB / 1.186 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.8792, allocations: 147.5 kB / 1.186 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.8794, allocations: 264.3 kB / 1.186 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.8805, allocations: 0.9306 MB / 1.187 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.8805, allocations: 0 / 1.187 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8805, allocations: 4 kB / 1.187 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.8805, allocations: 0 / 1.187 GB, free: 7.285 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001234/0.8817, allocations: 0.7708 MB / 1.188 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.8818, allocations: 12.03 kB / 1.188 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.8828, allocations: 159.1 kB / 1.188 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006437/0.8835, allocations: 496.8 kB / 1.188 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.8835, allocations: 20.56 kB / 1.188 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.8836, allocations: 32 kB / 1.188 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.8841, allocations: 323.6 kB / 1.189 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.8841, allocations: 0 / 1.189 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.8842, allocations: 12 kB / 1.189 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.8842, allocations: 8.562 kB / 1.189 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.8846, allocations: 226.1 kB / 1.189 GB, free: 5.152 MB / 0.9356 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.001822/0.8864, allocations: 1.422 MB / 1.19 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.8868, allocations: 226.7 kB / 1.191 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.887, allocations: 108.8 kB / 1.191 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.887, allocations: 4 kB / 1.191 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.8873, allocations: 164.8 kB / 1.191 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.8873, allocations: 0 / 1.191 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.002728/0.8901, allocations: 1.088 MB / 1.192 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.8901, allocations: 59.34 kB / 1.192 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.8906, allocations: 465.8 kB / 1.192 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.8907, allocations: 29.7 kB / 1.192 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.8909, allocations: 232.3 kB / 1.193 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.172e-05/0.891, allocations: 106.5 kB / 1.193 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.891, allocations: 41.69 kB / 1.193 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.8912, allocations: 362.7 kB / 1.193 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.8914, allocations: 124.7 kB / 1.193 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.8916, allocations: 186.6 kB / 1.193 GB, free: 300 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.8921, allocations: 303.9 kB / 1.194 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8921, allocations: 4 kB / 1.194 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009276/0.8931, allocations: 486.2 kB / 1.194 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.8931, allocations: 4.938 kB / 1.194 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8931, allocations: 7.938 kB / 1.194 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/0.8935, allocations: 76.8 kB / 1.194 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.8937, allocations: 67.91 kB / 1.194 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.8954, allocations: 1.756 MB / 1.196 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.8958, allocations: 31.83 kB / 1.196 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.8958, allocations: 8 kB / 1.196 GB, free: 13.41 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002267/0.8961, allocations: 197.8 kB / 1.196 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.8961, allocations: 43.44 kB / 1.196 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.8963, allocations: 56.56 kB / 1.196 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.8963, allocations: 4 kB / 1.196 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.8963, allocations: 0 / 1.196 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8963, allocations: 3.984 kB / 1.196 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.8978, allocations: 0.9687 MB / 1.197 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.8978, allocations: 3.938 kB / 1.197 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.8982, allocations: 59.91 kB / 1.197 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002967/0.8985, allocations: 76.78 kB / 1.198 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.8985, allocations: 8 kB / 1.198 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.8999, allocations: 1.562 MB / 1.199 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8999, allocations: 0 / 1.199 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.9009, allocations: 0.5748 MB / 1.2 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.9011, allocations: 156.5 kB / 1.2 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.9012, allocations: 11.94 kB / 1.2 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.9015, allocations: 23.98 kB / 1.2 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.9016, allocations: 19.97 kB / 1.2 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.9016, allocations: 12 kB / 1.2 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003219/0.9019, allocations: 307.1 kB / 1.2 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9019, allocations: 0 / 1.2 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005107/0.9025, allocations: 128 kB / 1.2 GB, free: 8.973 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/0.9036, allocations: 428.9 kB / 1.201 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000693/0.9043, allocations: 426.6 kB / 1.201 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9043, allocations: 4.062 kB / 1.201 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.9046, allocations: 246.6 kB / 1.201 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.9058, allocations: 237 kB / 1.202 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.9074, allocations: 1.227 MB / 1.203 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.9078, allocations: 0.8506 MB / 1.204 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003133/0.9081, allocations: 84.33 kB / 1.204 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/0.9082, allocations: 35.44 kB / 1.204 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of SimCode: time 4e-07/0.9082, allocations: 3.938 kB / 1.204 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of Templates: time 0.01487/0.9231, allocations: 8.505 MB / 1.212 GB, free: 13.15 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches