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.601/2.601, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001806/0.001806, allocations: 170.1 kB / 498.1 MB, free: 5.758 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.677/1.677, allocations: 223.2 MB / 0.7949 GB, free: 18.96 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.001075/0.001076, allocations: 100.1 kB / 0.9346 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004362, allocations: 8.719 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3579, allocations: 142.4 MB / 1.223 GB, free: 89.63 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.021/5.379, allocations: 1.914 GB / 3.137 GB, free: 65.88 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/5.38, allocations: 91.95 kB / 3.137 GB, free: 65.79 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.206/6.585, allocations: 168.4 MB / 3.301 GB, free: 372 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.452e-06/6.586, allocations: 0 / 3.301 GB, free: 372 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.642e-05/6.586, allocations: 16 kB / 3.301 GB, free: 372 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.001889/6.587, allocations: 0.6828 MB / 3.302 GB, free: 371.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/6.588, allocations: 11.97 kB / 3.302 GB, free: 371.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/6.589, allocations: 140.4 kB / 3.302 GB, free: 371.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009193/6.59, allocations: 419.7 kB / 3.303 GB, free: 370.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/6.59, allocations: 16.56 kB / 3.303 GB, free: 370.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/6.59, allocations: 31.91 kB / 3.303 GB, free: 370.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/6.59, allocations: 271.7 kB / 3.303 GB, free: 370.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/6.59, allocations: 0 / 3.303 GB, free: 370.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/6.591, allocations: 12 kB / 3.303 GB, free: 370.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/6.591, allocations: 12.55 kB / 3.303 GB, free: 370.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/6.591, allocations: 198.1 kB / 3.303 GB, free: 370.1 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002015/6.593, allocations: 1.294 MB / 3.304 GB, free: 368.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/6.593, allocations: 187.9 kB / 3.305 GB, free: 368.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/6.593, allocations: 8.344 kB / 3.305 GB, free: 368.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/6.593, allocations: 34.52 kB / 3.305 GB, free: 368.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/6.593, allocations: 4 kB / 3.305 GB, free: 368.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.001076/6.595, allocations: 400.2 kB / 3.305 GB, free: 368 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/6.595, allocations: 59.39 kB / 3.305 GB, free: 368 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/6.595, allocations: 263.7 kB / 3.305 GB, free: 367.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/6.595, allocations: 29.7 kB / 3.305 GB, free: 367.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/6.595, allocations: 192.1 kB / 3.306 GB, free: 367.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/6.595, allocations: 78.92 kB / 3.306 GB, free: 367.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-06/6.595, allocations: 0 / 3.306 GB, free: 367.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001144/6.595, allocations: 338.8 kB / 3.306 GB, free: 367.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/6.595, allocations: 63.97 kB / 3.306 GB, free: 367 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/6.595, allocations: 118 kB / 3.306 GB, free: 366.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/6.596, allocations: 88.91 kB / 3.306 GB, free: 366.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/6.596, allocations: 0 / 3.306 GB, free: 366.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003911/6.596, allocations: 246.1 kB / 3.306 GB, free: 366.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/6.596, allocations: 5.562 kB / 3.306 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/6.596, allocations: 7.938 kB / 3.306 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/6.596, allocations: 4 kB / 3.306 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/6.596, allocations: 39.92 kB / 3.307 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/6.596, allocations: 4 kB / 3.307 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/6.597, allocations: 24.03 kB / 3.307 GB, free: 366.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/6.597, allocations: 8 kB / 3.307 GB, free: 366.4 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 () * Number of clocked 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.0001904/6.597, allocations: 165.7 kB / 3.307 GB, free: 366.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/6.597, allocations: 35.61 kB / 3.307 GB, free: 366.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.256e-05/6.597, allocations: 35.08 kB / 3.307 GB, free: 366.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/6.597, allocations: 4 kB / 3.307 GB, free: 366.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/6.597, allocations: 7.938 kB / 3.307 GB, free: 366.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/6.597, allocations: 0 / 3.307 GB, free: 366.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/6.598, allocations: 405.3 kB / 3.307 GB, free: 365.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/6.598, allocations: 0 / 3.307 GB, free: 365.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/6.598, allocations: 27.98 kB / 3.307 GB, free: 365.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002536/6.598, allocations: 52.75 kB / 3.307 GB, free: 365.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/6.598, allocations: 8 kB / 3.307 GB, free: 365.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/6.599, allocations: 1.417 MB / 3.309 GB, free: 364.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/6.599, allocations: 0 / 3.309 GB, free: 364.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/6.6, allocations: 397.5 kB / 3.309 GB, free: 363.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/6.6, allocations: 128.7 kB / 3.309 GB, free: 363.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/6.6, allocations: 8 kB / 3.309 GB, free: 363.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/6.6, allocations: 11.98 kB / 3.309 GB, free: 363.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/6.6, allocations: 15.92 kB / 3.309 GB, free: 363.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/6.601, allocations: 8 kB / 3.309 GB, free: 363.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002213/6.601, allocations: 211.1 kB / 3.309 GB, free: 363.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/6.601, allocations: 4 kB / 3.309 GB, free: 363.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007259/6.601, allocations: 155.8 kB / 3.31 GB, free: 363.1 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 () * Number of clocked 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.001229/6.603, allocations: 0.7056 MB / 3.31 GB, free: 362.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003413/6.603, allocations: 166 kB / 3.31 GB, free: 362.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/6.603, allocations: 0 / 3.31 GB, free: 362.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003249/6.603, allocations: 203.5 kB / 3.311 GB, free: 362.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009343/6.604, allocations: 197.9 kB / 3.311 GB, free: 361.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/6.606, allocations: 0.939 MB / 3.312 GB, free: 360.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/6.606, allocations: 0.804 MB / 3.312 GB, free: 360.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003456/6.607, allocations: 55.25 kB / 3.313 GB, free: 360 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/6.607, allocations: 27.44 kB / 3.313 GB, free: 360 MB / 1.167 GB Notification: Performance of SimCode: time 1.773e-06/6.607, allocations: 4 kB / 3.313 GB, free: 360 MB / 1.167 GB Notification: Performance of Templates: time 0.02285/6.63, allocations: 14.59 MB / 3.327 GB, free: 345.5 MB / 1.167 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