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.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 177.8 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.00088/0.0008801, allocations: 98.14 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 9.969 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.221, allocations: 106.3 MB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.223/5.444, allocations: 2.19 GB / 3.091 GB, free: 29.59 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004114/5.445, allocations: 88.61 kB / 3.091 GB, free: 29.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.017/6.462, allocations: 167.6 MB / 3.254 GB, free: 224 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.934e-06/6.462, allocations: 4 kB / 3.254 GB, free: 224 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.649e-05/6.462, allocations: 12 kB / 3.254 GB, free: 224 MB / 0.8855 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.002163/6.464, allocations: 0.8189 MB / 3.255 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/6.464, allocations: 8.031 kB / 3.255 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/6.465, allocations: 151.2 kB / 3.255 GB, free: 223 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/6.467, allocations: 0.4987 MB / 3.256 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/6.467, allocations: 28.64 kB / 3.256 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-05/6.467, allocations: 32 kB / 3.256 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/6.467, allocations: 328.8 kB / 3.256 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/6.467, allocations: 0 / 3.256 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/6.467, allocations: 12 kB / 3.256 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/6.468, allocations: 16.5 kB / 3.256 GB, free: 222 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/6.468, allocations: 218.1 kB / 3.256 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/6.47, allocations: 1.451 MB / 3.258 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/6.47, allocations: 231 kB / 3.258 GB, free: 220 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/6.47, allocations: 7.984 kB / 3.258 GB, free: 220 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/6.471, allocations: 171.6 kB / 3.258 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 3.897e-06/6.471, allocations: 0 / 3.258 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.003187/6.474, allocations: 1.151 MB / 3.259 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/6.474, allocations: 55.41 kB / 3.259 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/6.474, allocations: 413 kB / 3.26 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/6.475, allocations: 37.7 kB / 3.26 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/6.475, allocations: 236.2 kB / 3.26 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.837e-05/6.475, allocations: 106.5 kB / 3.26 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/6.475, allocations: 8 kB / 3.26 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.23e-05/6.475, allocations: 354.8 kB / 3.26 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/6.475, allocations: 136.8 kB / 3.261 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/6.475, allocations: 202.3 kB / 3.261 GB, free: 217 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/6.476, allocations: 163.5 kB / 3.261 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/6.476, allocations: 0 / 3.261 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009503/6.477, allocations: 0.5013 MB / 3.261 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/6.477, allocations: 4 kB / 3.261 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/6.477, allocations: 7.984 kB / 3.261 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/6.477, allocations: 72.94 kB / 3.262 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/6.477, allocations: 75.91 kB / 3.262 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/6.479, allocations: 1.783 MB / 3.263 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/6.48, allocations: 27.98 kB / 3.263 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/6.48, allocations: 16 kB / 3.263 GB, free: 214.2 MB / 0.8855 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 () * Number of clocked 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000314/6.48, allocations: 193.8 kB / 3.264 GB, free: 214 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/6.48, allocations: 47.44 kB / 3.264 GB, free: 214 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/6.481, allocations: 420.9 kB / 3.264 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/6.481, allocations: 4 kB / 3.264 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/6.481, allocations: 0 / 3.264 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/6.481, allocations: 0 / 3.264 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/6.483, allocations: 1.039 MB / 3.265 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/6.483, allocations: 3.938 kB / 3.265 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/6.484, allocations: 67.91 kB / 3.265 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003365/6.484, allocations: 84.8 kB / 3.265 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/6.484, allocations: 11.95 kB / 3.265 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/6.486, allocations: 1.581 MB / 3.267 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/6.486, allocations: 0 / 3.267 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/6.487, allocations: 0.6084 MB / 3.267 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/6.487, allocations: 164.5 kB / 3.267 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/6.487, allocations: 8 kB / 3.267 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/6.487, allocations: 19.92 kB / 3.268 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.982e-05/6.488, allocations: 31.91 kB / 3.268 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/6.488, allocations: 8 kB / 3.268 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003258/6.488, allocations: 311.1 kB / 3.268 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/6.488, allocations: 4 kB / 3.268 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008682/6.489, allocations: 180 kB / 3.268 GB, free: 209.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002247/6.491, allocations: 1.023 MB / 3.269 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009649/6.492, allocations: 454.8 kB / 3.269 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/6.492, allocations: 3.938 kB / 3.269 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002997/6.492, allocations: 254.6 kB / 3.27 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/6.493, allocations: 231.4 kB / 3.27 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/6.495, allocations: 1.287 MB / 3.271 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/6.496, allocations: 0.8659 MB / 3.272 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004358/6.496, allocations: 84.28 kB / 3.272 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/6.496, allocations: 39.42 kB / 3.272 GB, free: 205 MB / 0.8855 GB Notification: Performance of SimCode: time 5.11e-07/6.496, allocations: 0 / 3.272 GB, free: 205 MB / 0.8855 GB Notification: Performance of Templates: time 0.02532/6.522, allocations: 17.33 MB / 3.289 GB, free: 187.8 MB / 0.8855 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