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 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.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.001192/0.001192, allocations: 97.95 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.008727/0.008727, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.454/1.454, 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 11.0.1-master/package.mo): time 2.889/2.889, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 12.11 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3386, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05995/0.3986, allocations: 56.44 MB / 1.114 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01866/0.4173, allocations: 11.85 MB / 1.125 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.4197, allocations: 51.69 kB / 1.125 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003607/0.4233, allocations: 1.105 MB / 1.126 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006608/0.4299, allocations: 1.971 MB / 1.128 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005755/0.4357, allocations: 1.421 MB / 1.13 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008707/0.4444, allocations: 4.941 MB / 1.135 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002734/0.4472, allocations: 1.088 MB / 1.136 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003455/0.4507, allocations: 1.194 MB / 1.137 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.4532, allocations: 1.136 MB / 1.138 GB, free: 4 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004958/0.4537, allocations: 60 kB / 1.138 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004095/0.4578, allocations: 1.509 MB / 1.139 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008679/0.4587, allocations: 0.4941 MB / 1.14 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002355/0.4611, allocations: 0.9764 MB / 1.141 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005897/0.467, allocations: 3.29 MB / 1.144 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.467, allocations: 0 / 1.144 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.735e-06/0.4671, allocations: 4 kB / 1.144 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.96e-05/0.4672, allocations: 0 / 1.144 GB, free: 13.64 MB / 0.9044 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.004893/0.4721, allocations: 2.318 MB / 1.146 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.4721, allocations: 12.03 kB / 1.146 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008165/0.4729, allocations: 250 kB / 1.147 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/0.4769, allocations: 1.906 MB / 1.148 GB, free: 9 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.477, allocations: 70 kB / 1.149 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.4772, allocations: 107.9 kB / 1.149 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.4792, allocations: 1.027 MB / 1.15 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.4792, allocations: 0 / 1.15 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.88e-05/0.4794, allocations: 51.94 kB / 1.15 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/0.4794, allocations: 24 kB / 1.15 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.4808, allocations: 0.7339 MB / 1.15 GB, free: 6.953 MB / 0.9044 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.007001/0.4878, allocations: 4.776 MB / 1.155 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007791/0.4886, allocations: 461 kB / 1.156 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/0.4891, allocations: 318.9 kB / 1.156 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006234/0.4898, allocations: 0.8239 MB / 1.157 GB, free: 176 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006347/0.4904, allocations: 413.9 kB / 1.157 GB, free: 15.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=65): time 2.565e-06/0.4904, allocations: 0.5469 kB / 1.157 GB, free: 15.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=67): time 0.005074/0.4955, allocations: 2.575 MB / 1.16 GB, free: 13.05 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.4956, allocations: 115.4 kB / 1.16 GB, free: 12.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004155/0.4997, allocations: 2.744 MB / 1.162 GB, free: 10.14 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.4999, allocations: 37.7 kB / 1.162 GB, free: 10.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008574/0.5007, allocations: 0.8994 MB / 1.163 GB, free: 9.184 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.501, allocations: 216.9 kB / 1.163 GB, free: 8.969 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.5011, allocations: 69.69 kB / 1.164 GB, free: 8.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5012, allocations: 341.9 kB / 1.164 GB, free: 8.555 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.5017, allocations: 261.9 kB / 1.164 GB, free: 8.301 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.5024, allocations: 486.3 kB / 1.165 GB, free: 7.746 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.5034, allocations: 0.8043 MB / 1.165 GB, free: 6.859 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5034, allocations: 0 / 1.165 GB, free: 6.859 MB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001983/0.5054, allocations: 1.133 MB / 1.166 GB, free: 5.699 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.5056, allocations: 296 kB / 1.167 GB, free: 5.332 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5057, allocations: 8 kB / 1.167 GB, free: 5.324 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.5062, allocations: 113.6 kB / 1.167 GB, free: 5.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.5066, allocations: 127.8 kB / 1.167 GB, free: 5.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.5085, allocations: 2.195 MB / 1.169 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.5097, allocations: 79.98 kB / 1.169 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-05/0.5099, allocations: 39.98 kB / 1.169 GB, free: 2.613 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.5099, allocations: 9.812 kB / 1.169 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001768/0.5116, allocations: 0.9687 MB / 1.17 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5117, allocations: 4.562 kB / 1.17 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.5121, allocations: 113.7 kB / 1.17 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.5126, allocations: 127.8 kB / 1.17 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.5148, allocations: 2.191 MB / 1.173 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.5164, allocations: 99.91 kB / 1.173 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.5166, allocations: 36.08 kB / 1.173 GB, free: 14.88 MB / 0.9356 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.001288/0.5179, allocations: 0.6779 MB / 1.173 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005344/0.5184, allocations: 201.5 kB / 1.174 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.5205, allocations: 1.159 MB / 1.175 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.5205, allocations: 11.98 kB / 1.175 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5206, allocations: 0 / 1.175 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/0.5218, allocations: 0.9338 MB / 1.176 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/0.5262, allocations: 2.571 MB / 1.178 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.5262, allocations: 7.938 kB / 1.178 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.5266, allocations: 83.88 kB / 1.178 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004129/0.527, allocations: 109.8 kB / 1.178 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/0.5271, allocations: 24.16 kB / 1.178 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.5288, allocations: 2.187 MB / 1.181 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.5288, allocations: 4.031 kB / 1.181 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.5311, allocations: 1.522 MB / 1.182 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009473/0.5321, allocations: 442.3 kB / 1.182 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004172/0.5325, allocations: 16 kB / 1.182 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.5336, allocations: 63.98 kB / 1.182 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5337, allocations: 52.25 kB / 1.183 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.5338, allocations: 35.98 kB / 1.183 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003154/0.537, allocations: 2.004 MB / 1.185 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.9e-07/0.537, allocations: 0 / 1.185 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002839/0.5398, allocations: 0.8045 MB / 1.185 GB, free: 1.531 MB / 0.9356 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.002081/0.5419, allocations: 0.7535 MB / 1.186 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002773/0.5447, allocations: 1.711 MB / 1.188 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5447, allocations: 4.062 kB / 1.188 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008407/0.5456, allocations: 0.6248 MB / 1.188 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004659/0.5502, allocations: 0.786 MB / 1.189 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006061/0.5563, allocations: 4.098 MB / 1.193 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.5576, allocations: 1.458 MB / 1.195 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001431/0.5591, allocations: 350.3 kB / 1.195 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.5595, allocations: 135.4 kB / 1.195 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of SimCode: time 9.92e-07/0.5595, allocations: 0 / 1.195 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of Templates: time 0.06309/0.6226, allocations: 35.08 MB / 1.229 GB, free: 4.82 MB / 0.9825 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=480 -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