Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.3 MB / 261.9 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 184.8 kB / 321.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.2 MB / 0.572 GB, free: 10.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008533/0.0008533, allocations: 86.42 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.225e-05, allocations: 4 kB / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2222, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.548/5.77, allocations: 2.19 GB / 3.082 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/5.77, allocations: 82.39 kB / 3.082 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8233/6.594, allocations: 167.4 MB / 3.246 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.072e-06/6.594, allocations: 5.281 kB / 3.246 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.421e-05/6.594, allocations: 18.25 kB / 3.246 GB, free: 259.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001609/6.595, allocations: 0.7201 MB / 3.246 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/6.595, allocations: 9.188 kB / 3.246 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/6.597, allocations: 155.9 kB / 3.247 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/6.598, allocations: 0.4926 MB / 3.247 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/6.598, allocations: 22.88 kB / 3.247 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-05/6.598, allocations: 38.53 kB / 3.247 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/6.599, allocations: 320.2 kB / 3.247 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/6.599, allocations: 9.766 kB / 3.247 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/6.599, allocations: 11.44 kB / 3.247 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/6.599, allocations: 10.38 kB / 3.248 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/6.599, allocations: 209.2 kB / 3.248 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/6.601, allocations: 1.459 MB / 3.249 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/6.602, allocations: 223.7 kB / 3.249 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/6.602, allocations: 105.4 kB / 3.249 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/6.602, allocations: 4.969 kB / 3.249 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/6.602, allocations: 167.7 kB / 3.25 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 2.244e-06/6.602, allocations: 0 / 3.25 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.002775/6.605, allocations: 1.041 MB / 3.251 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/6.605, allocations: 55.75 kB / 3.251 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005591/6.606, allocations: 406.1 kB / 3.251 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/6.606, allocations: 32.95 kB / 3.251 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/6.606, allocations: 234.8 kB / 3.251 GB, free: 257 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/6.606, allocations: 108 kB / 3.251 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/6.606, allocations: 8.438 kB / 3.251 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/6.606, allocations: 357.7 kB / 3.252 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/6.606, allocations: 135.5 kB / 3.252 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/6.607, allocations: 194.1 kB / 3.252 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/6.607, allocations: 161.7 kB / 3.252 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/6.607, allocations: 4.938 kB / 3.252 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009596/6.608, allocations: 0.4885 MB / 3.253 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/6.608, allocations: 7.438 kB / 3.253 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/6.608, allocations: 7.703 kB / 3.253 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/6.608, allocations: 81.12 kB / 3.253 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/6.609, allocations: 74.95 kB / 3.253 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/6.61, allocations: 1.71 MB / 3.255 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/6.611, allocations: 26.7 kB / 3.255 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/6.611, allocations: 14.31 kB / 3.255 GB, free: 255.1 MB / 0.8698 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 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/6.611, allocations: 129.3 kB / 3.255 GB, free: 255 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/6.611, allocations: 46.44 kB / 3.255 GB, free: 255 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008499/6.612, allocations: 417.5 kB / 3.255 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/6.612, allocations: 10.5 kB / 3.255 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/6.612, allocations: 1.25 kB / 3.255 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/6.612, allocations: 0.9375 kB / 3.255 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/6.614, allocations: 1.032 MB / 3.256 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/6.614, allocations: 1.031 kB / 3.256 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/6.614, allocations: 64.09 kB / 3.256 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/6.614, allocations: 105.8 kB / 3.256 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/6.614, allocations: 14.19 kB / 3.256 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/6.616, allocations: 1.72 MB / 3.258 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/6.616, allocations: 1.156 kB / 3.258 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000988/6.617, allocations: 0.5973 MB / 3.259 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/6.617, allocations: 163.8 kB / 3.259 GB, free: 253 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.853e-05/6.617, allocations: 7.812 kB / 3.259 GB, free: 253 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/6.618, allocations: 23.81 kB / 3.259 GB, free: 253 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/6.618, allocations: 18.91 kB / 3.259 GB, free: 253 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/6.618, allocations: 15.06 kB / 3.259 GB, free: 253 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003763/6.618, allocations: 301.4 kB / 3.259 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.5e-07/6.618, allocations: 0 / 3.259 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008823/6.619, allocations: 195.3 kB / 3.259 GB, free: 252.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001699/6.621, allocations: 0.9846 MB / 3.26 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008161/6.622, allocations: 434.7 kB / 3.261 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/6.622, allocations: 4.75 kB / 3.261 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004875/6.622, allocations: 271.7 kB / 3.261 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/6.623, allocations: 227.5 kB / 3.261 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/6.625, allocations: 0.7611 MB / 3.262 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/6.625, allocations: 0.872 MB / 3.263 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004674/6.625, allocations: 89.5 kB / 3.263 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/6.626, allocations: 38.52 kB / 3.263 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.512e-06/6.626, allocations: 0.9062 kB / 3.263 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.02567/6.651, allocations: 19.24 MB / 3.282 GB, free: 250.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_Boiler_System1.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches