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.001093/0.001093, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001478/0.001478, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.085/3.085, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004063, allocations: 12.44 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4321, allocations: 159.6 MB / 1.058 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05569/0.4879, allocations: 53.32 MB / 1.11 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.5051, allocations: 11.1 MB / 1.121 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.5075, allocations: 51.69 kB / 1.121 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.5109, allocations: 1.019 MB / 1.122 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005522/0.5164, allocations: 1.692 MB / 1.124 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.5205, allocations: 1.203 MB / 1.125 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00676/0.5273, allocations: 4.249 MB / 1.129 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002062/0.5294, allocations: 0.978 MB / 1.13 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.5331, allocations: 1.159 MB / 1.131 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.5358, allocations: 1.054 MB / 1.132 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002932/0.5362, allocations: 60 kB / 1.132 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004107/0.5403, allocations: 1.212 MB / 1.133 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006266/0.5409, allocations: 494.2 kB / 1.134 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008927/0.5418, allocations: 412.6 kB / 1.134 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004279/0.5461, allocations: 2.533 MB / 1.137 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.5461, allocations: 0 / 1.137 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.709e-06/0.5462, allocations: 3.984 kB / 1.137 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.4e-05/0.5462, allocations: 0 / 1.137 GB, free: 4.543 MB / 0.8887 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.004651/0.5509, allocations: 2.334 MB / 1.139 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.5509, allocations: 8.031 kB / 1.139 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006044/0.5515, allocations: 249.1 kB / 1.139 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/0.5549, allocations: 1.825 MB / 1.141 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.555, allocations: 70 kB / 1.141 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.5551, allocations: 100 kB / 1.141 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.557, allocations: 1.023 MB / 1.142 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.557, allocations: 0 / 1.142 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.457e-05/0.5571, allocations: 40 kB / 1.142 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.5571, allocations: 28 kB / 1.142 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.5584, allocations: 0.7261 MB / 1.143 GB, free: 13.95 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.006787/0.5652, allocations: 4.784 MB / 1.148 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000797/0.566, allocations: 456 kB / 1.148 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.5665, allocations: 324.7 kB / 1.148 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007058/0.5672, allocations: 0.8277 MB / 1.149 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006708/0.5679, allocations: 409.9 kB / 1.15 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=65): time 4.428e-06/0.5679, allocations: 112 / 1.15 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67): time 0.005083/0.573, allocations: 2.544 MB / 1.152 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.5731, allocations: 119.4 kB / 1.152 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00378/0.5769, allocations: 2.732 MB / 1.155 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.577, allocations: 37.7 kB / 1.155 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008831/0.5779, allocations: 0.9071 MB / 1.156 GB, free: 212 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.5781, allocations: 213 kB / 1.156 GB, free: 15.99 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.5782, allocations: 19.94 kB / 1.156 GB, free: 15.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5783, allocations: 337.9 kB / 1.156 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.5788, allocations: 253.9 kB / 1.156 GB, free: 15.39 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/0.5794, allocations: 482.3 kB / 1.157 GB, free: 14.84 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/0.58, allocations: 370.5 kB / 1.157 GB, free: 14.46 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.58, allocations: 3.938 kB / 1.157 GB, free: 14.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002129/0.5821, allocations: 1.125 MB / 1.158 GB, free: 13.31 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002616/0.5824, allocations: 292.2 kB / 1.159 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5824, allocations: 4 kB / 1.159 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005401/0.583, allocations: 121.6 kB / 1.159 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.5834, allocations: 131.8 kB / 1.159 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.5855, allocations: 2.184 MB / 1.161 GB, free: 10.35 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.5867, allocations: 87.83 kB / 1.161 GB, free: 10.26 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.869e-05/0.5868, allocations: 43.98 kB / 1.161 GB, free: 10.22 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.5868, allocations: 4 kB / 1.161 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001564/0.5884, allocations: 0.9613 MB / 1.162 GB, free: 9.234 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5884, allocations: 4 kB / 1.162 GB, free: 9.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/0.5888, allocations: 121.6 kB / 1.162 GB, free: 9.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/0.5892, allocations: 127.8 kB / 1.162 GB, free: 8.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.591, allocations: 2.188 MB / 1.164 GB, free: 6.633 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.5923, allocations: 87.83 kB / 1.165 GB, free: 6.547 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.5924, allocations: 35.94 kB / 1.165 GB, free: 6.512 MB / 0.92 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 ($whenCondition1,$whenCondition2,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled,TIn.a,TIn.b,TIn.last,$PRE.TIn.nextEvent,TIn.nextEvent,TIn.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001209/0.5936, allocations: 0.682 MB / 1.165 GB, free: 5.809 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/0.5939, allocations: 205.5 kB / 1.165 GB, free: 5.605 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.596, allocations: 1.163 MB / 1.167 GB, free: 4.406 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.596, allocations: 7.984 kB / 1.167 GB, free: 4.398 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.596, allocations: 4 kB / 1.167 GB, free: 4.395 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/0.5973, allocations: 0.9145 MB / 1.168 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004448/0.6018, allocations: 2.538 MB / 1.17 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.6018, allocations: 4 kB / 1.17 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.6022, allocations: 79.89 kB / 1.17 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004111/0.6027, allocations: 129.8 kB / 1.17 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-05/0.6027, allocations: 19.98 kB / 1.17 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.6046, allocations: 2.18 MB / 1.172 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6047, allocations: 3.953 kB / 1.172 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.6071, allocations: 1.508 MB / 1.174 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.6082, allocations: 438.3 kB / 1.174 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005031/0.6087, allocations: 20 kB / 1.174 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.6098, allocations: 67.91 kB / 1.174 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.6099, allocations: 44.38 kB / 1.174 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.041e-05/0.61, allocations: 31.98 kB / 1.174 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003509/0.6136, allocations: 1.94 MB / 1.176 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6136, allocations: 0 / 1.176 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003393/0.617, allocations: 0.8045 MB / 1.177 GB, free: 9.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002344/0.6193, allocations: 0.7278 MB / 1.178 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002944/0.6223, allocations: 1.699 MB / 1.179 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.6223, allocations: 4.062 kB / 1.179 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000897/0.6232, allocations: 0.621 MB / 1.18 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003815/0.627, allocations: 0.6546 MB / 1.181 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006711/0.6338, allocations: 3.934 MB / 1.185 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.6352, allocations: 1.457 MB / 1.186 GB, free: 140 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001661/0.6369, allocations: 353.4 kB / 1.186 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/0.6374, allocations: 119.4 kB / 1.186 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of SimCode: time 8.32e-07/0.6374, allocations: 0 / 1.186 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of Templates: time 0.05717/0.6945, allocations: 31.37 MB / 1.217 GB, free: 0.6328 MB / 0.9669 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