Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.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.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.00111/0.00111, allocations: 192.8 kB / 487.4 MB, free: 5.066 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.533/1.533, allocations: 221.5 MB / 0.7824 GB, free: 1 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.001001/0.001001, allocations: 91.91 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.364e-05/1.367e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2795, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.428/5.707, allocations: 1.913 GB / 3.119 GB, free: 354.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/5.708, allocations: 81.8 kB / 3.119 GB, free: 354.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3424/6.05, allocations: 166.3 MB / 3.282 GB, free: 232.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.523e-06/6.05, allocations: 0 / 3.282 GB, free: 232.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.296e-05/6.05, allocations: 8 kB / 3.282 GB, free: 232.2 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00117/6.051, allocations: 0.6202 MB / 3.282 GB, free: 231.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/6.051, allocations: 12.55 kB / 3.282 GB, free: 231.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/6.052, allocations: 127.4 kB / 3.283 GB, free: 231.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/6.053, allocations: 418.5 kB / 3.283 GB, free: 231 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/6.053, allocations: 11.94 kB / 3.283 GB, free: 231 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/6.053, allocations: 16 kB / 3.283 GB, free: 231 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003342/6.054, allocations: 181 kB / 3.283 GB, free: 230.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/6.054, allocations: 230.6 kB / 3.283 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/6.054, allocations: 4 kB / 3.283 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/6.054, allocations: 0 / 3.283 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/6.054, allocations: 8.562 kB / 3.283 GB, free: 230.5 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.001671/6.056, allocations: 1.246 MB / 3.285 GB, free: 229.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/6.056, allocations: 180.8 kB / 3.285 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/6.056, allocations: 86.05 kB / 3.285 GB, free: 228.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/6.056, allocations: 0 / 3.285 GB, free: 228.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/6.056, allocations: 38.56 kB / 3.285 GB, free: 228.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.142e-06/6.056, allocations: 0 / 3.285 GB, free: 228.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0005431/6.057, allocations: 218.4 kB / 3.285 GB, free: 228.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/6.057, allocations: 55.41 kB / 3.285 GB, free: 228.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/6.057, allocations: 237.2 kB / 3.285 GB, free: 228.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/6.057, allocations: 29.69 kB / 3.285 GB, free: 228.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/6.057, allocations: 192.1 kB / 3.286 GB, free: 228.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/6.057, allocations: 70.94 kB / 3.286 GB, free: 228 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/6.057, allocations: 0 / 3.286 GB, free: 228 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.883e-05/6.057, allocations: 346.8 kB / 3.286 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/6.057, allocations: 52 kB / 3.286 GB, free: 227.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/6.058, allocations: 116.5 kB / 3.286 GB, free: 227.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/6.058, allocations: 80.94 kB / 3.286 GB, free: 227.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/6.058, allocations: 0 / 3.286 GB, free: 227.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003171/6.058, allocations: 218.4 kB / 3.286 GB, free: 227.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/6.058, allocations: 4 kB / 3.286 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/6.058, allocations: 4 kB / 3.286 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/6.058, allocations: 3.938 kB / 3.286 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/6.058, allocations: 47.92 kB / 3.286 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/6.058, allocations: 8.188 kB / 3.286 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/6.059, allocations: 19.83 kB / 3.287 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/6.059, allocations: 7.938 kB / 3.287 GB, free: 227.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.451e-05/6.059, allocations: 108.9 kB / 3.287 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/6.059, allocations: 31.62 kB / 3.287 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.213e-05/6.059, allocations: 34.14 kB / 3.287 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/6.059, allocations: 4 kB / 3.287 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/6.059, allocations: 0 / 3.287 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/6.059, allocations: 4 kB / 3.287 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/6.059, allocations: 361.8 kB / 3.287 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/6.059, allocations: 0 / 3.287 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/6.059, allocations: 31.92 kB / 3.287 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/6.06, allocations: 40.83 kB / 3.287 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/6.06, allocations: 0 / 3.287 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009226/6.061, allocations: 1.377 MB / 3.288 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/6.061, allocations: 0 / 3.288 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/6.061, allocations: 381.9 kB / 3.289 GB, free: 224.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/6.061, allocations: 132.7 kB / 3.289 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/6.061, allocations: 0 / 3.289 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/6.062, allocations: 8 kB / 3.289 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/6.062, allocations: 23.91 kB / 3.289 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/6.062, allocations: 4 kB / 3.289 GB, free: 224.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001812/6.062, allocations: 196.6 kB / 3.289 GB, free: 224.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/6.062, allocations: 0 / 3.289 GB, free: 224.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005698/6.062, allocations: 151.7 kB / 3.289 GB, free: 224 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/6.063, allocations: 0.8051 MB / 3.29 GB, free: 223.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000239/6.064, allocations: 145.2 kB / 3.29 GB, free: 223.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/6.064, allocations: 384 / 3.29 GB, free: 223.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/6.064, allocations: 189.8 kB / 3.29 GB, free: 222.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009093/6.065, allocations: 184.8 kB / 3.291 GB, free: 222.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/6.066, allocations: 0.549 MB / 3.291 GB, free: 222.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/6.066, allocations: 0.8038 MB / 3.292 GB, free: 221.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002991/6.066, allocations: 59.25 kB / 3.292 GB, free: 221.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/6.066, allocations: 23.44 kB / 3.292 GB, free: 221.2 MB / 1.151 GB Notification: Performance of SimCode: time 6.52e-07/6.066, allocations: 0 / 3.292 GB, free: 221.2 MB / 1.151 GB Notification: Performance of Templates: time 0.01502/6.081, allocations: 9.292 MB / 3.301 GB, free: 212 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches