Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.118/2.118, allocations: 387.4 MB / 394.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 172.9 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.5 MB / 0.7824 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001078, allocations: 98.42 kB / 0.9219 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.161e-05/1.163e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2427, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.838/5.081, allocations: 1.918 GB / 3.124 GB, free: 432.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/5.082, allocations: 90.14 kB / 3.124 GB, free: 432.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3333/5.415, allocations: 172.1 MB / 3.292 GB, free: 262.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.744e-06/5.415, allocations: 4 kB / 3.292 GB, free: 262.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.071e-05/5.415, allocations: 19.98 kB / 3.292 GB, free: 262.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001495/5.417, allocations: 0.729 MB / 3.292 GB, free: 261.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/5.417, allocations: 12.03 kB / 3.292 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/5.418, allocations: 151.2 kB / 3.293 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/5.419, allocations: 0.5072 MB / 3.293 GB, free: 261.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/5.419, allocations: 8 kB / 3.293 GB, free: 261.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/5.419, allocations: 27.94 kB / 3.293 GB, free: 261.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003746/5.419, allocations: 197.1 kB / 3.293 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/5.42, allocations: 270.6 kB / 3.294 GB, free: 260.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/5.42, allocations: 0 / 3.294 GB, free: 260.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/5.42, allocations: 4 kB / 3.294 GB, free: 260.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/5.42, allocations: 8.562 kB / 3.294 GB, free: 260.6 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.001783/5.422, allocations: 1.396 MB / 3.295 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/5.422, allocations: 214.8 kB / 3.295 GB, free: 258.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/5.422, allocations: 100.8 kB / 3.295 GB, free: 258.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/5.422, allocations: 8 kB / 3.295 GB, free: 258.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/5.422, allocations: 146 kB / 3.295 GB, free: 258.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/5.422, allocations: 0 / 3.295 GB, free: 258.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.002219/5.424, allocations: 0.9396 MB / 3.296 GB, free: 257.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/5.425, allocations: 59.41 kB / 3.296 GB, free: 257.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/5.425, allocations: 389.2 kB / 3.297 GB, free: 257.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/5.425, allocations: 25.7 kB / 3.297 GB, free: 257.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/5.425, allocations: 232.5 kB / 3.297 GB, free: 256.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/5.425, allocations: 98.59 kB / 3.297 GB, free: 256.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/5.425, allocations: 0 / 3.297 GB, free: 256.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/5.425, allocations: 354.8 kB / 3.297 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/5.425, allocations: 120.7 kB / 3.298 GB, free: 256.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/5.426, allocations: 182.2 kB / 3.298 GB, free: 256.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/5.426, allocations: 145.6 kB / 3.298 GB, free: 256 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/5.426, allocations: 0 / 3.298 GB, free: 256 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008311/5.427, allocations: 476.1 kB / 3.298 GB, free: 255.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/5.427, allocations: 6.031 kB / 3.298 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/5.427, allocations: 0 / 3.298 GB, free: 255.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/5.427, allocations: 84.95 kB / 3.298 GB, free: 255.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/5.427, allocations: 63.91 kB / 3.298 GB, free: 255.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/5.429, allocations: 1.704 MB / 3.3 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/5.429, allocations: 12.02 kB / 3.3 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/5.429, allocations: 16 kB / 3.3 GB, free: 253.5 MB / 1.151 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 (41): * Single equations (assignments): 40 * 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.0001002/5.429, allocations: 112.9 kB / 3.3 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/5.429, allocations: 51.38 kB / 3.3 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006941/5.43, allocations: 375.3 kB / 3.301 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/5.43, allocations: 4 kB / 3.301 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/5.43, allocations: 0 / 3.301 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/5.43, allocations: 0 / 3.301 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/5.431, allocations: 0.9135 MB / 3.302 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/5.431, allocations: 0 / 3.302 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/5.432, allocations: 55.97 kB / 3.302 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004326/5.432, allocations: 112.6 kB / 3.302 GB, free: 251.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/5.432, allocations: 8 kB / 3.302 GB, free: 251.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/5.433, allocations: 1.658 MB / 3.303 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/5.433, allocations: 3.984 kB / 3.303 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007738/5.434, allocations: 0.5478 MB / 3.304 GB, free: 249.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/5.434, allocations: 156.5 kB / 3.304 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/5.434, allocations: 4.062 kB / 3.304 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/5.435, allocations: 11.98 kB / 3.304 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/5.435, allocations: 19.97 kB / 3.304 GB, free: 249.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/5.435, allocations: 11.95 kB / 3.304 GB, free: 249.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002646/5.435, allocations: 286.9 kB / 3.304 GB, free: 248.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.435, allocations: 0 / 3.304 GB, free: 248.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007705/5.436, allocations: 175.9 kB / 3.305 GB, free: 248.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (26): * Single equations (assignments): 23 * 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.001674/5.438, allocations: 1.062 MB / 3.306 GB, free: 247.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007029/5.438, allocations: 425.6 kB / 3.306 GB, free: 247.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/5.438, allocations: 0 / 3.306 GB, free: 247.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/5.439, allocations: 245.7 kB / 3.306 GB, free: 247.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009936/5.44, allocations: 217.1 kB / 3.306 GB, free: 246.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/5.441, allocations: 0.7331 MB / 3.307 GB, free: 246.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/5.441, allocations: 0.866 MB / 3.308 GB, free: 245.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003722/5.442, allocations: 80.33 kB / 3.308 GB, free: 245.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/5.442, allocations: 39.42 kB / 3.308 GB, free: 245.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/5.442, allocations: 0 / 3.308 GB, free: 245.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01734/5.459, allocations: 11.67 MB / 3.319 GB, free: 233.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches