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.001085/0.001085, 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.008575/0.008575, allocations: 170.8 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 462.7 MB / 0.7364 GB, free: 244 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005985/0.0005985, allocations: 8.781 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3534, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05317/0.4066, allocations: 56.44 MB / 1.114 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.4238, allocations: 11.83 MB / 1.125 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.4263, allocations: 47.69 kB / 1.125 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00321/0.4295, allocations: 1.128 MB / 1.126 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005778/0.4353, allocations: 1.972 MB / 1.128 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.4392, allocations: 1.414 MB / 1.13 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00636/0.4456, allocations: 4.934 MB / 1.135 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.4478, allocations: 1.092 MB / 1.136 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002874/0.4507, allocations: 1.194 MB / 1.137 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.4528, allocations: 1.139 MB / 1.138 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.4532, allocations: 60 kB / 1.138 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004023/0.4572, allocations: 1.513 MB / 1.139 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007557/0.458, allocations: 498 kB / 1.14 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001944/0.46, allocations: 0.9843 MB / 1.141 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005767/0.4657, allocations: 3.29 MB / 1.144 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4658, allocations: 0 / 1.144 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.367e-06/0.4658, allocations: 0 / 1.144 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001049/0.4659, allocations: 0 / 1.144 GB, free: 13.62 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.004536/0.4705, allocations: 2.31 MB / 1.146 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4705, allocations: 12.03 kB / 1.146 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005996/0.4711, allocations: 250 kB / 1.147 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003046/0.4742, allocations: 1.914 MB / 1.148 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.4742, allocations: 70 kB / 1.149 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.4744, allocations: 104 kB / 1.149 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.4764, allocations: 1.027 MB / 1.15 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.4764, allocations: 3.938 kB / 1.15 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.4766, allocations: 40 kB / 1.15 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/0.4766, allocations: 27.98 kB / 1.15 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.4781, allocations: 0.7339 MB / 1.15 GB, free: 6.941 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.007743/0.4858, allocations: 4.78 MB / 1.155 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007835/0.4866, allocations: 463.9 kB / 1.156 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004353/0.4871, allocations: 314.9 kB / 1.156 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/0.4878, allocations: 0.8361 MB / 1.157 GB, free: 152 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006707/0.4884, allocations: 409.8 kB / 1.157 GB, free: 15.73 MB / 0.92 GB Notification: Performance of pre-optimization done (n=65): time 2.976e-06/0.4885, allocations: 0 / 1.157 GB, free: 15.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=67): time 0.00523/0.4937, allocations: 2.564 MB / 1.16 GB, free: 13.04 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.4938, allocations: 127.4 kB / 1.16 GB, free: 12.89 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003809/0.4976, allocations: 2.736 MB / 1.162 GB, free: 10.12 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.4978, allocations: 45.69 kB / 1.162 GB, free: 10.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008714/0.4987, allocations: 0.8994 MB / 1.163 GB, free: 9.164 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.4989, allocations: 216.9 kB / 1.163 GB, free: 8.949 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.499, allocations: 69.67 kB / 1.164 GB, free: 8.875 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4992, allocations: 334 kB / 1.164 GB, free: 8.543 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.4996, allocations: 261.9 kB / 1.164 GB, free: 8.289 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.5003, allocations: 498.3 kB / 1.165 GB, free: 7.723 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.5015, allocations: 0.8004 MB / 1.165 GB, free: 6.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5015, allocations: 0 / 1.165 GB, free: 6.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002115/0.5036, allocations: 1.136 MB / 1.166 GB, free: 5.676 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002321/0.5038, allocations: 284.6 kB / 1.167 GB, free: 5.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5039, allocations: 4 kB / 1.167 GB, free: 5.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005246/0.5044, allocations: 121.6 kB / 1.167 GB, free: 5.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.5049, allocations: 127.8 kB / 1.167 GB, free: 5.066 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.5069, allocations: 2.195 MB / 1.169 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.5082, allocations: 87.97 kB / 1.169 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/0.5083, allocations: 36 kB / 1.169 GB, free: 2.594 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.5083, allocations: 7.938 kB / 1.169 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001583/0.5099, allocations: 0.9649 MB / 1.17 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5099, allocations: 4 kB / 1.17 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003349/0.5102, allocations: 114.2 kB / 1.17 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.5107, allocations: 135.8 kB / 1.17 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.5126, allocations: 2.195 MB / 1.173 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.514, allocations: 87.83 kB / 1.173 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.011e-05/0.5141, allocations: 28 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.001362/0.5155, allocations: 0.6837 MB / 1.173 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005691/0.5161, allocations: 197.6 kB / 1.174 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.5184, allocations: 1.171 MB / 1.175 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.5185, allocations: 8 kB / 1.175 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5185, allocations: 0 / 1.175 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/0.5199, allocations: 0.9261 MB / 1.176 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00481/0.5247, allocations: 2.571 MB / 1.178 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.5247, allocations: 4.031 kB / 1.178 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/0.5252, allocations: 91.83 kB / 1.178 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004073/0.5256, allocations: 109.6 kB / 1.178 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/0.5257, allocations: 23.98 kB / 1.178 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.5275, allocations: 2.187 MB / 1.18 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.5275, allocations: 7.969 kB / 1.181 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.5299, allocations: 1.518 MB / 1.182 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.5311, allocations: 438.4 kB / 1.182 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005144/0.5316, allocations: 28.05 kB / 1.182 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.5328, allocations: 67.97 kB / 1.182 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.533, allocations: 40.33 kB / 1.183 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.582e-05/0.5331, allocations: 39.97 kB / 1.183 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003491/0.5366, allocations: 2.008 MB / 1.185 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5366, allocations: 0 / 1.185 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003199/0.5398, allocations: 0.8006 MB / 1.185 GB, free: 1.512 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.002147/0.542, allocations: 0.7628 MB / 1.186 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002933/0.5449, allocations: 1.707 MB / 1.188 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.5449, allocations: 448 / 1.188 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008939/0.5458, allocations: 0.6249 MB / 1.188 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005214/0.5511, allocations: 0.7659 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.007236/0.5583, allocations: 4.11 MB / 1.193 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/0.5598, allocations: 1.462 MB / 1.195 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001589/0.5614, allocations: 366.2 kB / 1.195 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004674/0.5619, allocations: 131.4 kB / 1.195 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of SimCode: time 1.123e-06/0.5619, allocations: 4 kB / 1.195 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of Templates: time 0.06422/0.6261, allocations: 35.07 MB / 1.229 GB, free: 4.809 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