Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001359/0.001359, allocations: 110.8 kB / 16.41 MB, free: 6.48 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.001726/0.001726, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.89 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7694/0.7708, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1653/0.9361, allocations: 162.9 MB / 1.367 GB, free: 10.1 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005473/0.9416, allocations: 3.47 MB / 1.371 GB, free: 6.625 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.9422, allocations: 23.88 kB / 1.371 GB, free: 6.602 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009571/0.9432, allocations: 270.5 kB / 1.371 GB, free: 6.336 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002391/0.9457, allocations: 0.8633 MB / 1.372 GB, free: 5.469 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.9469, allocations: 478.3 kB / 1.372 GB, free: 5.004 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001475/0.9484, allocations: 1.099 MB / 1.374 GB, free: 3.902 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005167/0.9489, allocations: 320.7 kB / 1.374 GB, free: 3.586 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007633/0.9497, allocations: 422.3 kB / 1.374 GB, free: 3.172 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009193/0.9506, allocations: 354.8 kB / 1.375 GB, free: 2.828 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.9507, allocations: 40 kB / 1.375 GB, free: 2.789 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.9521, allocations: 0.6937 MB / 1.375 GB, free: 2.094 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.9523, allocations: 167.5 kB / 1.375 GB, free: 1.93 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.9527, allocations: 266.7 kB / 1.376 GB, free: 1.668 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.9543, allocations: 0.9405 MB / 1.377 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.9543, allocations: 3.938 kB / 1.377 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9543, allocations: 0 / 1.377 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.112e-05/0.9543, allocations: 0 / 1.377 GB, free: 0.7227 MB / 1.092 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.001688/0.956, allocations: 0.8719 MB / 1.377 GB, free: 15.8 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.9561, allocations: 8.031 kB / 1.377 GB, free: 15.79 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.9573, allocations: 155.2 kB / 1.378 GB, free: 15.64 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008629/0.9581, allocations: 0.5047 MB / 1.378 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.9582, allocations: 20.56 kB / 1.378 GB, free: 15.07 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.9582, allocations: 28 kB / 1.378 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.9588, allocations: 323.7 kB / 1.378 GB, free: 14.72 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.9589, allocations: 0 / 1.378 GB, free: 14.72 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.9589, allocations: 12 kB / 1.378 GB, free: 14.71 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.9589, allocations: 12.55 kB / 1.379 GB, free: 14.7 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.9594, allocations: 230 kB / 1.379 GB, free: 14.47 MB / 1.107 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.002109/0.9615, allocations: 1.41 MB / 1.38 GB, free: 12.93 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.962, allocations: 220.2 kB / 1.38 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.9622, allocations: 113.2 kB / 1.38 GB, free: 12.59 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.9622, allocations: 3.938 kB / 1.38 GB, free: 12.59 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.9626, allocations: 164.8 kB / 1.381 GB, free: 12.41 MB / 1.107 GB Notification: Performance of pre-optimization done (n=26): time 2.545e-06/0.9626, allocations: 0 / 1.381 GB, free: 12.41 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.002984/0.9656, allocations: 1.085 MB / 1.382 GB, free: 11.27 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.9656, allocations: 55.34 kB / 1.382 GB, free: 11.21 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/0.9662, allocations: 465.8 kB / 1.382 GB, free: 10.74 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.9663, allocations: 33.7 kB / 1.382 GB, free: 10.7 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.9665, allocations: 232.3 kB / 1.382 GB, free: 10.47 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.9666, allocations: 110.5 kB / 1.382 GB, free: 10.36 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.9667, allocations: 74.06 kB / 1.383 GB, free: 10.29 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.9669, allocations: 354.8 kB / 1.383 GB, free: 9.93 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.9671, allocations: 124.7 kB / 1.383 GB, free: 9.809 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.9674, allocations: 182.8 kB / 1.383 GB, free: 9.613 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.9679, allocations: 307.9 kB / 1.383 GB, free: 9.297 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9679, allocations: 0 / 1.383 GB, free: 9.297 MB / 1.107 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001019/0.9689, allocations: 494.1 kB / 1.384 GB, free: 8.805 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.9689, allocations: 4 kB / 1.384 GB, free: 8.801 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.969, allocations: 4 kB / 1.384 GB, free: 8.797 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.9693, allocations: 84.92 kB / 1.384 GB, free: 8.711 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.9696, allocations: 67.91 kB / 1.384 GB, free: 8.645 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.9717, allocations: 1.908 MB / 1.386 GB, free: 6.602 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.9721, allocations: 8.031 kB / 1.386 GB, free: 6.594 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.9721, allocations: 16 kB / 1.386 GB, free: 6.578 MB / 1.107 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.0002989/0.9724, allocations: 193.8 kB / 1.386 GB, free: 6.379 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.9725, allocations: 47.44 kB / 1.386 GB, free: 6.332 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.9727, allocations: 56.56 kB / 1.386 GB, free: 6.273 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.9727, allocations: 4 kB / 1.386 GB, free: 6.27 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9727, allocations: 0 / 1.386 GB, free: 6.27 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.9727, allocations: 3.984 kB / 1.386 GB, free: 6.266 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.9744, allocations: 0.9761 MB / 1.387 GB, free: 5.227 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.9744, allocations: 0 / 1.387 GB, free: 5.227 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.9748, allocations: 63.97 kB / 1.387 GB, free: 5.164 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003204/0.9752, allocations: 72.78 kB / 1.387 GB, free: 5.09 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.9752, allocations: 19.94 kB / 1.387 GB, free: 5.07 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.9768, allocations: 1.653 MB / 1.389 GB, free: 3.277 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.9768, allocations: 3.984 kB / 1.389 GB, free: 3.273 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.9779, allocations: 0.5708 MB / 1.39 GB, free: 2.684 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.9782, allocations: 148.6 kB / 1.39 GB, free: 2.52 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.9783, allocations: 11.98 kB / 1.39 GB, free: 2.508 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.9786, allocations: 11.94 kB / 1.39 GB, free: 2.496 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.9787, allocations: 19.97 kB / 1.39 GB, free: 2.477 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.9787, allocations: 8 kB / 1.39 GB, free: 2.469 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003938/0.9791, allocations: 311.1 kB / 1.39 GB, free: 2.168 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9791, allocations: 0 / 1.39 GB, free: 2.168 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005685/0.9797, allocations: 128 kB / 1.39 GB, free: 2.043 MB / 1.107 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.001136/0.9809, allocations: 433.5 kB / 1.391 GB, free: 1.773 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0007916/0.9817, allocations: 422.4 kB / 1.391 GB, free: 1.348 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.9817, allocations: 0 / 1.391 GB, free: 1.348 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.982, allocations: 251 kB / 1.391 GB, free: 1.09 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.9832, allocations: 251.2 kB / 1.391 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.9851, allocations: 1.032 MB / 1.392 GB, free: 15.79 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.9856, allocations: 0.8582 MB / 1.393 GB, free: 14.91 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.9857, allocations: 35.44 kB / 1.393 GB, free: 14.87 MB / 1.123 GB Notification: Performance of SimCode: time 3.01e-07/0.9858, allocations: 4 kB / 1.393 GB, free: 14.87 MB / 1.123 GB Notification: Performance of Templates: time 0.01378/0.9995, allocations: 9.273 MB / 1.402 GB, free: 5.645 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches