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.001297/0.001297, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.01074/0.01074, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 462.7 MB / 0.7364 GB, free: 240 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 8.906 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.35, allocations: 159.6 MB / 1.059 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1879/0.538, allocations: 158.6 MB / 1.214 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006288/0.5443, allocations: 3.476 MB / 1.217 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007776/0.5451, allocations: 15.88 kB / 1.217 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009238/0.5461, allocations: 239 kB / 1.217 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.5483, allocations: 0.7975 MB / 1.218 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.5496, allocations: 426.8 kB / 1.218 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.5513, allocations: 1.376 MB / 1.22 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005847/0.5519, allocations: 272 kB / 1.22 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007319/0.5526, allocations: 334.4 kB / 1.22 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009804/0.5536, allocations: 350.8 kB / 1.221 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.004e-05/0.5537, allocations: 16 kB / 1.221 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.5552, allocations: 0.7871 MB / 1.221 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.5555, allocations: 143.5 kB / 1.222 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.5559, allocations: 264.3 kB / 1.222 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.5575, allocations: 0.9306 MB / 1.223 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5575, allocations: 4 kB / 1.223 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5575, allocations: 0 / 1.223 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.508e-05/0.5576, allocations: 0 / 1.223 GB, free: 12.86 MB / 0.9825 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.001694/0.5593, allocations: 0.7747 MB / 1.223 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.5593, allocations: 15.97 kB / 1.223 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.5605, allocations: 151.2 kB / 1.224 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008352/0.5613, allocations: 496.9 kB / 1.224 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.5614, allocations: 20.56 kB / 1.224 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.5614, allocations: 24 kB / 1.224 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.5621, allocations: 323.7 kB / 1.224 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.5621, allocations: 3.906 kB / 1.224 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.5621, allocations: 12 kB / 1.224 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.5622, allocations: 12.55 kB / 1.224 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.5626, allocations: 226.1 kB / 1.225 GB, free: 10.73 MB / 0.9825 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.002299/0.5649, allocations: 1.419 MB / 1.226 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.5654, allocations: 220.3 kB / 1.226 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.5656, allocations: 108.8 kB / 1.226 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.5656, allocations: 4 kB / 1.226 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.5659, allocations: 171.6 kB / 1.227 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 2.525e-06/0.566, allocations: 0 / 1.227 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29): time 0.003229/0.5692, allocations: 1.079 MB / 1.228 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.5693, allocations: 59.34 kB / 1.228 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/0.5699, allocations: 469.8 kB / 1.228 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.57, allocations: 29.7 kB / 1.228 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.5702, allocations: 240.2 kB / 1.228 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.5704, allocations: 102.5 kB / 1.228 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.5705, allocations: 45.58 kB / 1.228 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.5707, allocations: 358.8 kB / 1.229 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.5709, allocations: 128.7 kB / 1.229 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.5712, allocations: 182.8 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.5717, allocations: 307.9 kB / 1.229 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5717, allocations: 0 / 1.229 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009957/0.5727, allocations: 490.2 kB / 1.23 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5728, allocations: 4 kB / 1.23 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5728, allocations: 4 kB / 1.23 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/0.5732, allocations: 80.78 kB / 1.23 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.5734, allocations: 67.91 kB / 1.23 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.5754, allocations: 1.741 MB / 1.232 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.5759, allocations: 31.98 kB / 1.232 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.5759, allocations: 8 kB / 1.232 GB, free: 3.004 MB / 0.9825 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.000269/0.5762, allocations: 199.4 kB / 1.232 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.5763, allocations: 47.56 kB / 1.232 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.5764, allocations: 56.55 kB / 1.232 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/0.5764, allocations: 12 kB / 1.232 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5764, allocations: 0 / 1.232 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5765, allocations: 0 / 1.232 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.5781, allocations: 0.9638 MB / 1.233 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5781, allocations: 0 / 1.233 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.5785, allocations: 63.95 kB / 1.233 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/0.5788, allocations: 72.8 kB / 1.233 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.5788, allocations: 11.98 kB / 1.233 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.5803, allocations: 1.562 MB / 1.235 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5804, allocations: 0 / 1.235 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.5814, allocations: 0.5626 MB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.5816, allocations: 160.5 kB / 1.235 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.5817, allocations: 15.98 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.5821, allocations: 13.31 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.5821, allocations: 15.97 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.5822, allocations: 19.98 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004276/0.5826, allocations: 307.1 kB / 1.236 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5826, allocations: 0 / 1.236 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005569/0.5832, allocations: 124 kB / 1.236 GB, free: 14.58 MB / 0.9981 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.001087/0.5843, allocations: 430.6 kB / 1.236 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007905/0.5851, allocations: 434.6 kB / 1.237 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.5851, allocations: 0 / 1.237 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.5854, allocations: 246.9 kB / 1.237 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.5867, allocations: 234.3 kB / 1.237 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.5889, allocations: 1.241 MB / 1.238 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.5895, allocations: 0.8428 MB / 1.239 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004078/0.5899, allocations: 88.33 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.59, allocations: 35.44 kB / 1.239 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.59, allocations: 0 / 1.239 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of Templates: time 0.01649/0.6065, allocations: 8.508 MB / 1.248 GB, free: 2.711 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches