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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009542/0.0009542, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008811/0.0008815, allocations: 178.2 kB / 16.92 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.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.811/2.811, allocations: 462.6 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 9.688 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3281, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05501/0.3831, allocations: 56.42 MB / 1.114 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01668/0.3998, allocations: 11.85 MB / 1.126 GB, free: 424 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.4019, allocations: 51.69 kB / 1.126 GB, free: 372 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.4053, allocations: 1.117 MB / 1.127 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005687/0.411, allocations: 1.959 MB / 1.129 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.4152, allocations: 1.42 MB / 1.13 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006224/0.4215, allocations: 4.934 MB / 1.135 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.4235, allocations: 1.104 MB / 1.136 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.4261, allocations: 1.186 MB / 1.137 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.428, allocations: 1.143 MB / 1.139 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.4282, allocations: 60 kB / 1.139 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.4314, allocations: 1.509 MB / 1.14 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004931/0.4319, allocations: 0.4903 MB / 1.141 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.4331, allocations: 0.9803 MB / 1.142 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.4364, allocations: 2.592 MB / 1.144 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4364, allocations: 0 / 1.144 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.257e-06/0.4364, allocations: 0 / 1.144 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.737e-05/0.4364, allocations: 3.938 kB / 1.144 GB, free: 13.8 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.003684/0.4401, allocations: 2.314 MB / 1.146 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4402, allocations: 12.03 kB / 1.146 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005107/0.4407, allocations: 250 kB / 1.147 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.4437, allocations: 1.906 MB / 1.148 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/0.4437, allocations: 74 kB / 1.149 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.4439, allocations: 99.94 kB / 1.149 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.4457, allocations: 1.027 MB / 1.15 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.4457, allocations: 3.938 kB / 1.15 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.4458, allocations: 43.98 kB / 1.15 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.4459, allocations: 27.98 kB / 1.15 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.4471, allocations: 0.7339 MB / 1.15 GB, free: 7.113 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.00609/0.4532, allocations: 4.776 MB / 1.155 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007587/0.454, allocations: 461.7 kB / 1.156 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.4545, allocations: 318.4 kB / 1.156 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.4551, allocations: 0.8239 MB / 1.157 GB, free: 340 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006236/0.4558, allocations: 413.9 kB / 1.157 GB, free: 15.9 MB / 0.92 GB Notification: Performance of pre-optimization done (n=65): time 2.635e-06/0.4558, allocations: 0 / 1.157 GB, free: 15.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=67): time 0.004791/0.4606, allocations: 2.567 MB / 1.16 GB, free: 13.22 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.4607, allocations: 119.4 kB / 1.16 GB, free: 13.08 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/0.4642, allocations: 2.744 MB / 1.162 GB, free: 10.3 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.86e-05/0.4643, allocations: 37.7 kB / 1.162 GB, free: 10.26 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007872/0.4651, allocations: 0.8994 MB / 1.163 GB, free: 9.348 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.4653, allocations: 217.5 kB / 1.163 GB, free: 9.133 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.411e-05/0.4654, allocations: 73.67 kB / 1.164 GB, free: 9.055 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4655, allocations: 334 kB / 1.164 GB, free: 8.723 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.466, allocations: 261.9 kB / 1.164 GB, free: 8.469 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.4666, allocations: 494.2 kB / 1.165 GB, free: 7.906 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.4676, allocations: 0.8004 MB / 1.165 GB, free: 7.023 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4676, allocations: 0 / 1.165 GB, free: 7.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001869/0.4695, allocations: 1.132 MB / 1.166 GB, free: 5.863 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.4697, allocations: 284.6 kB / 1.167 GB, free: 5.508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.4697, allocations: 12 kB / 1.167 GB, free: 5.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/0.4702, allocations: 117.6 kB / 1.167 GB, free: 5.375 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.4707, allocations: 127.8 kB / 1.167 GB, free: 5.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.4725, allocations: 2.199 MB / 1.169 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.4738, allocations: 83.98 kB / 1.169 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.491e-05/0.4739, allocations: 39.98 kB / 1.169 GB, free: 2.773 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.4739, allocations: 7.938 kB / 1.169 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001577/0.4755, allocations: 0.965 MB / 1.17 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4755, allocations: 4 kB / 1.17 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003348/0.4758, allocations: 114.2 kB / 1.17 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.4763, allocations: 135.8 kB / 1.17 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.478, allocations: 2.191 MB / 1.173 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.4793, allocations: 93.38 kB / 1.173 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.4793, allocations: 32 kB / 1.173 GB, free: 15.05 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.001061/0.4804, allocations: 0.6807 MB / 1.173 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/0.4808, allocations: 197.6 kB / 1.174 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.4827, allocations: 1.163 MB / 1.175 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.4827, allocations: 11.94 kB / 1.175 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4827, allocations: 0 / 1.175 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/0.4839, allocations: 0.9262 MB / 1.176 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00399/0.4879, allocations: 2.587 MB / 1.178 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.488, allocations: 4 kB / 1.178 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.4884, allocations: 84.05 kB / 1.178 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003872/0.4888, allocations: 109.6 kB / 1.178 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.4888, allocations: 23.98 kB / 1.178 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.4906, allocations: 2.184 MB / 1.18 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4906, allocations: 12.09 kB / 1.18 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.493, allocations: 1.518 MB / 1.182 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008934/0.4939, allocations: 442.3 kB / 1.182 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.4941, allocations: 16 kB / 1.182 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008698/0.495, allocations: 63.98 kB / 1.182 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.4951, allocations: 44.33 kB / 1.182 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.4952, allocations: 35.97 kB / 1.183 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002734/0.4979, allocations: 2.008 MB / 1.184 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4979, allocations: 0 / 1.184 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00237/0.5003, allocations: 0.8006 MB / 1.185 GB, free: 1.699 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.001772/0.5021, allocations: 0.767 MB / 1.186 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002601/0.5047, allocations: 1.707 MB / 1.188 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5047, allocations: 0 / 1.188 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.5055, allocations: 0.6253 MB / 1.188 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/0.51, allocations: 0.7847 MB / 1.189 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/0.5159, allocations: 4.134 MB / 1.193 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.517, allocations: 1.45 MB / 1.195 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.5175, allocations: 139.3 kB / 1.195 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.5175, allocations: 0 / 1.195 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of Templates: time 0.06331/0.5809, allocations: 45.77 MB / 1.239 GB, free: 10.42 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=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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches