Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.333/2.333, allocations: 390.5 MB / 398 MB, free: 10.95 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.001101/0.001101, allocations: 191.1 kB / 491.2 MB, free: 1.586 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.724/1.724, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009972/0.000997, allocations: 103.8 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.232e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3263, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.267/6.594, allocations: 1.914 GB / 3.126 GB, free: 415.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/6.594, allocations: 87.95 kB / 3.127 GB, free: 415.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3136/6.908, allocations: 166.3 MB / 3.289 GB, free: 246.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.244e-06/6.908, allocations: 4 kB / 3.289 GB, free: 246.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.38e-05/6.908, allocations: 7.938 kB / 3.289 GB, free: 246.1 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.001002/6.909, allocations: 0.6163 MB / 3.29 GB, free: 245.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/6.909, allocations: 8.031 kB / 3.29 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009374/6.91, allocations: 143.4 kB / 3.29 GB, free: 245.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/6.911, allocations: 406.5 kB / 3.29 GB, free: 244.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/6.911, allocations: 8 kB / 3.29 GB, free: 244.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/6.911, allocations: 16 kB / 3.29 GB, free: 244.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003099/6.911, allocations: 177.1 kB / 3.29 GB, free: 244.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/6.911, allocations: 234.6 kB / 3.29 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/6.911, allocations: 0 / 3.29 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/6.911, allocations: 7.938 kB / 3.29 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/6.911, allocations: 12.5 kB / 3.291 GB, free: 244.4 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.00149/6.913, allocations: 1.246 MB / 3.292 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/6.913, allocations: 178.9 kB / 3.292 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/6.913, allocations: 84.84 kB / 3.292 GB, free: 242.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/6.913, allocations: 0 / 3.292 GB, free: 242.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/6.913, allocations: 38.56 kB / 3.292 GB, free: 242.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 9.22e-07/6.913, allocations: 0 / 3.292 GB, free: 242.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0005211/6.914, allocations: 215.5 kB / 3.292 GB, free: 242.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/6.914, allocations: 55.41 kB / 3.292 GB, free: 242.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/6.914, allocations: 241.1 kB / 3.293 GB, free: 242.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/6.914, allocations: 29.7 kB / 3.293 GB, free: 242.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/6.914, allocations: 192.1 kB / 3.293 GB, free: 241.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/6.914, allocations: 70.95 kB / 3.293 GB, free: 241.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/6.914, allocations: 0 / 3.293 GB, free: 241.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001035/6.914, allocations: 346.7 kB / 3.293 GB, free: 241.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.441e-05/6.915, allocations: 55.94 kB / 3.293 GB, free: 241.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/6.915, allocations: 108 kB / 3.293 GB, free: 241.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/6.915, allocations: 84.94 kB / 3.293 GB, free: 241.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/6.915, allocations: 0 / 3.293 GB, free: 241.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002875/6.915, allocations: 218.1 kB / 3.294 GB, free: 241 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/6.915, allocations: 7.984 kB / 3.294 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/6.915, allocations: 4.188 kB / 3.294 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/6.915, allocations: 8 kB / 3.294 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/6.915, allocations: 43.92 kB / 3.294 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/6.915, allocations: 7.984 kB / 3.294 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/6.916, allocations: 19.8 kB / 3.294 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/6.916, allocations: 8 kB / 3.294 GB, free: 240.9 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 0.0001066/6.916, allocations: 114.5 kB / 3.294 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/6.916, allocations: 35.62 kB / 3.294 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.182e-05/6.916, allocations: 34.14 kB / 3.294 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/6.916, allocations: 0 / 3.294 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/6.916, allocations: 4 kB / 3.294 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/6.916, allocations: 0 / 3.294 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/6.916, allocations: 361.8 kB / 3.294 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/6.917, allocations: 0 / 3.294 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/6.917, allocations: 31.98 kB / 3.294 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/6.917, allocations: 44.83 kB / 3.294 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/6.917, allocations: 0 / 3.294 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/6.918, allocations: 1.37 MB / 3.296 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/6.918, allocations: 8 kB / 3.296 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/6.919, allocations: 380.2 kB / 3.296 GB, free: 238.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/6.919, allocations: 132.7 kB / 3.296 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/6.919, allocations: 0 / 3.296 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/6.919, allocations: 8 kB / 3.296 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/6.919, allocations: 11.98 kB / 3.296 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/6.919, allocations: 15.94 kB / 3.296 GB, free: 238.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00015/6.919, allocations: 192.6 kB / 3.296 GB, free: 238 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/6.919, allocations: 3.938 kB / 3.296 GB, free: 238 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006393/6.92, allocations: 143.8 kB / 3.296 GB, free: 237.9 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.001221/6.921, allocations: 0.8112 MB / 3.297 GB, free: 237.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002977/6.921, allocations: 149.2 kB / 3.297 GB, free: 236.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/6.921, allocations: 0 / 3.297 GB, free: 236.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/6.922, allocations: 185.7 kB / 3.298 GB, free: 236.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/6.923, allocations: 183.5 kB / 3.298 GB, free: 236.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/6.924, allocations: 0.5374 MB / 3.298 GB, free: 236 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/6.924, allocations: 0.7999 MB / 3.299 GB, free: 235.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002673/6.924, allocations: 63.23 kB / 3.299 GB, free: 235.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/6.925, allocations: 23.44 kB / 3.299 GB, free: 235.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/6.925, allocations: 0 / 3.299 GB, free: 235.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01676/6.941, allocations: 9.287 MB / 3.308 GB, free: 225.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches