Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001188/0.001188, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001246/0.001246, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.481/1.481, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.2 MB / 0.665 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 65.38 kB / 0.8127 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2658, allocations: 140.4 MB / 0.9498 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6637/0.9296, allocations: 160.7 MB / 1.107 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005679/0.9353, allocations: 3.451 MB / 1.11 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008129/0.9362, allocations: 17.75 kB / 1.11 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009549/0.9371, allocations: 247.8 kB / 1.11 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.9397, allocations: 0.7937 MB / 1.111 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.9411, allocations: 435.6 kB / 1.111 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.943, allocations: 1.097 MB / 1.113 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005066/0.9435, allocations: 323.2 kB / 1.113 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007249/0.9442, allocations: 404.9 kB / 1.113 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009256/0.9452, allocations: 374 kB / 1.114 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.672e-05/0.9453, allocations: 39.28 kB / 1.114 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.9468, allocations: 0.7298 MB / 1.114 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.9471, allocations: 169.9 kB / 1.115 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003399/0.9474, allocations: 271.9 kB / 1.115 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.9486, allocations: 0.7061 MB / 1.115 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.9486, allocations: 1.688 kB / 1.115 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9486, allocations: 2.531 kB / 1.115 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.9486, allocations: 0 / 1.115 GB, free: 5.418 MB / 0.8575 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.001754/0.9504, allocations: 0.867 MB / 1.116 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.9504, allocations: 14.34 kB / 1.116 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.9516, allocations: 153.9 kB / 1.116 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009488/0.9526, allocations: 496 kB / 1.117 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.9526, allocations: 23.95 kB / 1.117 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.9527, allocations: 29.8 kB / 1.117 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007191/0.9535, allocations: 320.1 kB / 1.117 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.9535, allocations: 6.375 kB / 1.117 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.9535, allocations: 10.09 kB / 1.117 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.9536, allocations: 10.97 kB / 1.117 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.9541, allocations: 224.1 kB / 1.118 GB, free: 20.48 MB / 0.8731 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.002503/0.9566, allocations: 1.423 MB / 1.119 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.957, allocations: 218.6 kB / 1.119 GB, free: 19.63 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.9573, allocations: 109.7 kB / 1.119 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.9573, allocations: 7.312 kB / 1.119 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003981/0.9577, allocations: 162.1 kB / 1.119 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/0.9577, allocations: 0 / 1.119 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.003188/0.9609, allocations: 1.086 MB / 1.12 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.961, allocations: 58.22 kB / 1.121 GB, free: 19.13 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005858/0.9616, allocations: 468.3 kB / 1.121 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.9616, allocations: 31.83 kB / 1.121 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.9618, allocations: 235.5 kB / 1.121 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.242e-05/0.9619, allocations: 103.2 kB / 1.121 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.9621, allocations: 78.12 kB / 1.121 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9622, allocations: 354.8 kB / 1.122 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.9625, allocations: 127.6 kB / 1.122 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.9627, allocations: 182.6 kB / 1.122 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.9632, allocations: 308.9 kB / 1.122 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9632, allocations: 0 / 1.122 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009885/0.9642, allocations: 488.6 kB / 1.123 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.9642, allocations: 6.516 kB / 1.123 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.9642, allocations: 1.531 kB / 1.123 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/0.9646, allocations: 81.89 kB / 1.123 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.9649, allocations: 63.12 kB / 1.123 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.9669, allocations: 1.915 MB / 1.125 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004128/0.9673, allocations: 31 kB / 1.125 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.9673, allocations: 14.45 kB / 1.125 GB, free: 16.76 MB / 0.8731 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.0002838/0.9676, allocations: 191.5 kB / 1.125 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.9677, allocations: 46.25 kB / 1.125 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.9678, allocations: 56.66 kB / 1.125 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.9678, allocations: 3.031 kB / 1.125 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.9679, allocations: 3.062 kB / 1.125 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.9679, allocations: 1.922 kB / 1.125 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.9698, allocations: 0.9732 MB / 1.126 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.9698, allocations: 0 / 1.126 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.9702, allocations: 60.84 kB / 1.126 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003323/0.9705, allocations: 82.41 kB / 1.126 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.9705, allocations: 10.36 kB / 1.126 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.9721, allocations: 1.649 MB / 1.128 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9721, allocations: 1.281 kB / 1.128 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.9732, allocations: 0.5756 MB / 1.128 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.9734, allocations: 146.7 kB / 1.129 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/0.9735, allocations: 7.406 kB / 1.129 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.9739, allocations: 22.17 kB / 1.129 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.9739, allocations: 24.88 kB / 1.129 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.974, allocations: 15.48 kB / 1.129 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003939/0.9744, allocations: 306.1 kB / 1.129 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9744, allocations: 1.094 kB / 1.129 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005909/0.975, allocations: 124.2 kB / 1.129 GB, free: 14.54 MB / 0.8731 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.001103/0.9761, allocations: 435.1 kB / 1.129 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000872/0.977, allocations: 447.4 kB / 1.13 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.977, allocations: 1.156 kB / 1.13 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.9773, allocations: 249.8 kB / 1.13 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.9785, allocations: 242 kB / 1.13 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.9805, allocations: 1.195 MB / 1.132 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.981, allocations: 0.8463 MB / 1.132 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.9812, allocations: 39.09 kB / 1.132 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of SimCode: time 1.513e-06/0.9812, allocations: 0 / 1.132 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of Templates: time 0.01679/0.998, allocations: 9.235 MB / 1.141 GB, free: 11.85 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches