Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009373/0.0009373, allocations: 91.84 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.008227/0.008228, allocations: 169.6 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.523/1.523, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.168/3.168, allocations: 483.2 MB / 0.7564 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 18.78 kB / 0.9276 GB, free: 29.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3839, allocations: 164.5 MB / 1.088 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.06066/0.4446, allocations: 56.55 MB / 1.143 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02644/0.4711, allocations: 11.85 MB / 1.155 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.4738, allocations: 51.69 kB / 1.155 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004461/0.4783, allocations: 1.114 MB / 1.156 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008554/0.4869, allocations: 1.951 MB / 1.158 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006194/0.4931, allocations: 1.424 MB / 1.159 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009206/0.5023, allocations: 4.847 MB / 1.164 GB, free: 12.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.5043, allocations: 1.088 MB / 1.165 GB, free: 11.22 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/0.5074, allocations: 1.318 MB / 1.167 GB, free: 9.898 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.5092, allocations: 1.12 MB / 1.168 GB, free: 8.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.5093, allocations: 63.98 kB / 1.168 GB, free: 8.711 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/0.5128, allocations: 1.509 MB / 1.169 GB, free: 7.199 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005164/0.5133, allocations: 498 kB / 1.17 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.5146, allocations: 0.9842 MB / 1.171 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005457/0.5201, allocations: 3.294 MB / 1.174 GB, free: 2.41 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5201, allocations: 0 / 1.174 GB, free: 2.41 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.404e-06/0.5201, allocations: 0 / 1.174 GB, free: 2.41 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.998e-05/0.5201, allocations: 0 / 1.174 GB, free: 2.41 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004203/0.5244, allocations: 2.318 MB / 1.176 GB, free: 4 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.5244, allocations: 12.02 kB / 1.176 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005449/0.525, allocations: 253.9 kB / 1.176 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/0.5281, allocations: 1.906 MB / 1.178 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.5282, allocations: 77.92 kB / 1.178 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.5284, allocations: 92 kB / 1.178 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.5302, allocations: 1.031 MB / 1.179 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.5302, allocations: 4 kB / 1.179 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.232e-05/0.5303, allocations: 36 kB / 1.179 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.5304, allocations: 24 kB / 1.179 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.5318, allocations: 0.73 MB / 1.18 GB, free: 11.73 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.00737/0.5391, allocations: 4.942 MB / 1.185 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008547/0.54, allocations: 460.9 kB / 1.185 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005067/0.5405, allocations: 326.9 kB / 1.186 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007605/0.5413, allocations: 0.8165 MB / 1.187 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000678/0.542, allocations: 418 kB / 1.187 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=65): time 2.975e-06/0.542, allocations: 0 / 1.187 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=67): time 0.005273/0.5473, allocations: 2.568 MB / 1.189 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/0.5474, allocations: 119.4 kB / 1.19 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003876/0.5513, allocations: 2.736 MB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.5514, allocations: 41.7 kB / 1.192 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009092/0.5523, allocations: 0.9071 MB / 1.193 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.5526, allocations: 213 kB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.5527, allocations: 73.67 kB / 1.193 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5529, allocations: 341.9 kB / 1.194 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.5534, allocations: 261.8 kB / 1.194 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/0.554, allocations: 478.4 kB / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.5552, allocations: 0.8044 MB / 1.195 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5552, allocations: 4 kB / 1.195 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002117/0.5573, allocations: 1.136 MB / 1.196 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002319/0.5576, allocations: 289.2 kB / 1.197 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.5576, allocations: 7.984 kB / 1.197 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004998/0.5581, allocations: 109.7 kB / 1.197 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.5586, allocations: 139.8 kB / 1.197 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.5608, allocations: 2.195 MB / 1.199 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.5621, allocations: 87.88 kB / 1.199 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/0.5622, allocations: 39.98 kB / 1.199 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5622, allocations: 7.938 kB / 1.199 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001665/0.5639, allocations: 0.9653 MB / 1.2 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5639, allocations: 8.125 kB / 1.2 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.5642, allocations: 117.6 kB / 1.2 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/0.5647, allocations: 127.8 kB / 1.2 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.5667, allocations: 2.18 MB / 1.202 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.568, allocations: 95.83 kB / 1.203 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.5681, allocations: 39.98 kB / 1.203 GB, free: 3.461 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 14 (TIn.nextEventScaled,TIn.nextEvent,$PRE.TIn.nextEvent,TIn.last,TIn.b,TIn.a,y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001198/0.5693, allocations: 0.672 MB / 1.203 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004029/0.5697, allocations: 201.5 kB / 1.203 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.572, allocations: 1.175 MB / 1.205 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.5721, allocations: 8.094 kB / 1.205 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.5721, allocations: 4 kB / 1.205 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002023/0.5741, allocations: 0.93 MB / 1.205 GB, free: 368 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006181/0.5803, allocations: 2.571 MB / 1.208 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.5804, allocations: 0 / 1.208 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006633/0.581, allocations: 87.88 kB / 1.208 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005753/0.5816, allocations: 109.8 kB / 1.208 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/0.5817, allocations: 19.98 kB / 1.208 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/0.5845, allocations: 2.195 MB / 1.21 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.5846, allocations: 0 / 1.21 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00389/0.5885, allocations: 1.53 MB / 1.212 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.5899, allocations: 438.3 kB / 1.212 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004058/0.5903, allocations: 16 kB / 1.212 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.5918, allocations: 71.89 kB / 1.212 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.592, allocations: 56.25 kB / 1.212 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.5921, allocations: 27.98 kB / 1.212 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004293/0.5964, allocations: 2.004 MB / 1.214 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5964, allocations: 0 / 1.214 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004241/0.6007, allocations: 0.8045 MB / 1.215 GB, free: 6.094 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled,TIn.a,TIn.b,TIn.last,TIn.nextEvent,TIn.nextEventScaled) * Number of discrete states: 12 (TIn.nextEvent,TIn.last,TIn.nextEventScaled,TIn.b,TIn.a,$whenCondition2,y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003202/0.6039, allocations: 0.7474 MB / 1.216 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003829/0.6078, allocations: 1.718 MB / 1.218 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.6078, allocations: 0 / 1.218 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.6092, allocations: 0.621 MB / 1.218 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006553/0.6158, allocations: 0.7796 MB / 1.219 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008642/0.6245, allocations: 4.1 MB / 1.223 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/0.6264, allocations: 1.458 MB / 1.224 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002211/0.6286, allocations: 362.3 kB / 1.225 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005295/0.6292, allocations: 127.4 kB / 1.225 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of SimCode: time 7.82e-07/0.6292, allocations: 0 / 1.225 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of Templates: time 0.6711/1.3, allocations: 35.07 MB / 1.259 GB, free: 159.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & ./Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Boilers_Examples_BoilerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches