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.281/2.281, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001102/0.001102, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0009202/0.0009202, allocations: 95.89 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.743e-05/4.79e-05, allocations: 0 / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3589, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.96/6.319, allocations: 1.915 GB / 3.134 GB, free: 399.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/6.319, allocations: 83.95 kB / 3.134 GB, free: 399.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3083/6.627, allocations: 168.2 MB / 3.298 GB, free: 228.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.784e-06/6.627, allocations: 0 / 3.298 GB, free: 228.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.748e-05/6.627, allocations: 11.94 kB / 3.298 GB, free: 228.3 MB / 1.167 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.001324/6.629, allocations: 0.6124 MB / 3.299 GB, free: 227.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/6.629, allocations: 11.97 kB / 3.299 GB, free: 227.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/6.63, allocations: 139.4 kB / 3.299 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007927/6.631, allocations: 418.5 kB / 3.299 GB, free: 227 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/6.631, allocations: 16.56 kB / 3.299 GB, free: 227 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/6.631, allocations: 24 kB / 3.299 GB, free: 227 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/6.631, allocations: 267.7 kB / 3.299 GB, free: 226.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/6.631, allocations: 0 / 3.299 GB, free: 226.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/6.631, allocations: 12 kB / 3.299 GB, free: 226.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/6.631, allocations: 8.562 kB / 3.299 GB, free: 226.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/6.632, allocations: 194.1 kB / 3.3 GB, free: 226.5 MB / 1.167 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.001495/6.633, allocations: 1.305 MB / 3.301 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/6.634, allocations: 186.9 kB / 3.301 GB, free: 224.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/6.634, allocations: 84.84 kB / 3.301 GB, free: 224.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/6.634, allocations: 4 kB / 3.301 GB, free: 224.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/6.634, allocations: 34.56 kB / 3.301 GB, free: 224.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/6.634, allocations: 0 / 3.301 GB, free: 224.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.0005449/6.634, allocations: 235 kB / 3.301 GB, free: 224.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/6.634, allocations: 59.34 kB / 3.301 GB, free: 224.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/6.635, allocations: 262.7 kB / 3.302 GB, free: 224.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/6.635, allocations: 29.7 kB / 3.302 GB, free: 224.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/6.635, allocations: 192.2 kB / 3.302 GB, free: 224 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/6.635, allocations: 78.92 kB / 3.302 GB, free: 223.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-06/6.635, allocations: 0 / 3.302 GB, free: 223.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/6.635, allocations: 346.8 kB / 3.302 GB, free: 223.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.173e-05/6.635, allocations: 63.92 kB / 3.302 GB, free: 223.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/6.635, allocations: 113.1 kB / 3.302 GB, free: 223.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/6.635, allocations: 82.2 kB / 3.303 GB, free: 223.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/6.635, allocations: 0 / 3.303 GB, free: 223.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000281/6.636, allocations: 245 kB / 3.303 GB, free: 223 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/6.636, allocations: 5.562 kB / 3.303 GB, free: 223 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/6.636, allocations: 0 / 3.303 GB, free: 223 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/6.636, allocations: 8 kB / 3.303 GB, free: 223 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/6.636, allocations: 60.05 kB / 3.303 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/6.636, allocations: 4 kB / 3.303 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/6.636, allocations: 15.84 kB / 3.303 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/6.636, allocations: 12 kB / 3.303 GB, free: 222.9 MB / 1.167 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 6.524e-05/6.636, allocations: 114.5 kB / 3.303 GB, free: 222.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/6.636, allocations: 31.62 kB / 3.303 GB, free: 222.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.107e-05/6.636, allocations: 38.86 kB / 3.303 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/6.636, allocations: 7.938 kB / 3.303 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/6.636, allocations: 3.953 kB / 3.303 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/6.636, allocations: 3.984 kB / 3.303 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/6.637, allocations: 405.2 kB / 3.303 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/6.637, allocations: 0 / 3.303 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/6.637, allocations: 31.98 kB / 3.303 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002147/6.637, allocations: 44.83 kB / 3.304 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/6.637, allocations: 3.938 kB / 3.304 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008771/6.638, allocations: 1.401 MB / 3.305 GB, free: 220.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/6.638, allocations: 3.953 kB / 3.305 GB, free: 220.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/6.639, allocations: 397.6 kB / 3.305 GB, free: 220.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/6.639, allocations: 124.8 kB / 3.305 GB, free: 220.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/6.639, allocations: 11.95 kB / 3.305 GB, free: 220.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/6.639, allocations: 15.89 kB / 3.305 GB, free: 220.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/6.639, allocations: 15.98 kB / 3.305 GB, free: 220 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/6.639, allocations: 4 kB / 3.305 GB, free: 220 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000172/6.639, allocations: 210.2 kB / 3.306 GB, free: 219.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/6.639, allocations: 7.938 kB / 3.306 GB, free: 219.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0005484/6.64, allocations: 151.8 kB / 3.306 GB, free: 219.7 MB / 1.167 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.0008009/6.641, allocations: 0.7111 MB / 3.306 GB, free: 219 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002631/6.641, allocations: 161.7 kB / 3.307 GB, free: 218.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/6.641, allocations: 4 kB / 3.307 GB, free: 218.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/6.641, allocations: 186.6 kB / 3.307 GB, free: 218.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008399/6.642, allocations: 194.3 kB / 3.307 GB, free: 218.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/6.643, allocations: 0.5477 MB / 3.308 GB, free: 217.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/6.643, allocations: 0.8079 MB / 3.308 GB, free: 217 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000237/6.643, allocations: 55.25 kB / 3.308 GB, free: 217 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/6.643, allocations: 27.44 kB / 3.308 GB, free: 216.9 MB / 1.167 GB Notification: Performance of SimCode: time 5.01e-07/6.643, allocations: 0 / 3.308 GB, free: 216.9 MB / 1.167 GB Notification: Performance of Templates: time 0.0209/6.664, allocations: 16.66 MB / 3.325 GB, free: 200.3 MB / 1.167 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