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.295/2.295, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001072/0.001072, allocations: 175.5 kB / 492.3 MB, free: 0.6055 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.552/1.552, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0009653/0.0009649, allocations: 98.5 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.799e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2757, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.627/5.902, allocations: 1.914 GB / 3.126 GB, free: 416.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/5.903, allocations: 86.3 kB / 3.126 GB, free: 416.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3154/6.218, allocations: 168.2 MB / 3.291 GB, free: 245 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.302e-06/6.218, allocations: 0 / 3.291 GB, free: 245 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.34e-05/6.218, allocations: 4 kB / 3.291 GB, free: 245 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.000915/6.219, allocations: 0.6202 MB / 3.291 GB, free: 244.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/6.219, allocations: 8.031 kB / 3.291 GB, free: 244.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000932/6.22, allocations: 131.4 kB / 3.292 GB, free: 244.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/6.221, allocations: 418.5 kB / 3.292 GB, free: 243.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/6.221, allocations: 20.56 kB / 3.292 GB, free: 243.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/6.221, allocations: 27.94 kB / 3.292 GB, free: 243.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/6.221, allocations: 267.8 kB / 3.292 GB, free: 243.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/6.221, allocations: 0 / 3.292 GB, free: 243.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/6.221, allocations: 4 kB / 3.292 GB, free: 243.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/6.222, allocations: 12.56 kB / 3.292 GB, free: 243.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/6.222, allocations: 202.1 kB / 3.292 GB, free: 243.2 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.001494/6.223, allocations: 1.305 MB / 3.294 GB, free: 241.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/6.224, allocations: 190.9 kB / 3.294 GB, free: 241.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/6.224, allocations: 84.8 kB / 3.294 GB, free: 241.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/6.224, allocations: 7.984 kB / 3.294 GB, free: 241.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/6.224, allocations: 30.56 kB / 3.294 GB, free: 241.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.253e-06/6.224, allocations: 4 kB / 3.294 GB, free: 241.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0005448/6.224, allocations: 231.9 kB / 3.294 GB, free: 241.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/6.224, allocations: 59.36 kB / 3.294 GB, free: 241.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/6.225, allocations: 262.8 kB / 3.295 GB, free: 240.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/6.225, allocations: 29.7 kB / 3.295 GB, free: 240.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/6.225, allocations: 200.1 kB / 3.295 GB, free: 240.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/6.225, allocations: 67.05 kB / 3.295 GB, free: 240.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/6.225, allocations: 4 kB / 3.295 GB, free: 240.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/6.225, allocations: 338.8 kB / 3.295 GB, free: 240.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-05/6.225, allocations: 59.98 kB / 3.295 GB, free: 240.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/6.225, allocations: 106.7 kB / 3.295 GB, free: 240.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/6.225, allocations: 89.09 kB / 3.295 GB, free: 240 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/6.225, allocations: 0 / 3.295 GB, free: 240 MB / 1.151 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003049/6.226, allocations: 242.5 kB / 3.296 GB, free: 239.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/6.226, allocations: 8.188 kB / 3.296 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/6.226, allocations: 4 kB / 3.296 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/6.226, allocations: 7.938 kB / 3.296 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/6.226, allocations: 47.86 kB / 3.296 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/6.226, allocations: 7.953 kB / 3.296 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/6.226, allocations: 19.84 kB / 3.296 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/6.226, allocations: 7.984 kB / 3.296 GB, free: 239.6 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.325e-05/6.226, allocations: 120.9 kB / 3.296 GB, free: 239.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/6.226, allocations: 31.62 kB / 3.296 GB, free: 239.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.981e-05/6.226, allocations: 42.86 kB / 3.296 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/6.226, allocations: 4 kB / 3.296 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/6.226, allocations: 0 / 3.296 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/6.226, allocations: 3.953 kB / 3.296 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/6.227, allocations: 405.2 kB / 3.296 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/6.227, allocations: 0 / 3.296 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/6.227, allocations: 35.98 kB / 3.296 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/6.227, allocations: 44.77 kB / 3.296 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/6.227, allocations: 8 kB / 3.296 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008727/6.228, allocations: 1.401 MB / 3.298 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/6.228, allocations: 3.938 kB / 3.298 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/6.229, allocations: 389.9 kB / 3.298 GB, free: 236.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/6.229, allocations: 124.8 kB / 3.298 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/6.229, allocations: 4 kB / 3.298 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/6.229, allocations: 23.91 kB / 3.298 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/6.229, allocations: 15.98 kB / 3.298 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/6.229, allocations: 4 kB / 3.298 GB, free: 236.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000178/6.229, allocations: 218.1 kB / 3.298 GB, free: 236.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/6.229, allocations: 0 / 3.298 GB, free: 236.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005813/6.23, allocations: 151.8 kB / 3.299 GB, free: 236.4 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.0007901/6.231, allocations: 0.7061 MB / 3.299 GB, free: 235.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002623/6.231, allocations: 156.7 kB / 3.299 GB, free: 235.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/6.231, allocations: 4 kB / 3.299 GB, free: 235.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/6.231, allocations: 194.6 kB / 3.3 GB, free: 235.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008472/6.232, allocations: 186.6 kB / 3.3 GB, free: 235.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008286/6.233, allocations: 0.5594 MB / 3.3 GB, free: 234.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/6.233, allocations: 0.8001 MB / 3.301 GB, free: 233.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002409/6.233, allocations: 59.23 kB / 3.301 GB, free: 233.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/6.233, allocations: 27.44 kB / 3.301 GB, free: 233.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/6.233, allocations: 4 kB / 3.301 GB, free: 233.6 MB / 1.151 GB Notification: Performance of Templates: time 0.02007/6.254, allocations: 16.65 MB / 3.318 GB, free: 217.1 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