Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.483/1.483, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 187.4 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008602/0.0008603, allocations: 100.3 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.478e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2563, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.044/6.3, allocations: 2.187 GB / 3.072 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/6.3, allocations: 83.95 kB / 3.072 GB, free: 221 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2916/6.592, allocations: 160 MB / 3.228 GB, free: 57.87 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.453e-06/6.592, allocations: 0 / 3.228 GB, free: 57.87 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.502e-05/6.592, allocations: 8 kB / 3.228 GB, free: 57.86 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008706/6.593, allocations: 0.6175 MB / 3.229 GB, free: 57.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/6.593, allocations: 8.031 kB / 3.229 GB, free: 57.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009603/6.594, allocations: 135.4 kB / 3.229 GB, free: 57.06 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/6.594, allocations: 418.5 kB / 3.23 GB, free: 56.61 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/6.594, allocations: 8 kB / 3.23 GB, free: 56.61 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/6.594, allocations: 23.89 kB / 3.23 GB, free: 56.58 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000294/6.595, allocations: 177.1 kB / 3.23 GB, free: 56.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/6.595, allocations: 234.6 kB / 3.23 GB, free: 56.17 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/6.595, allocations: 0 / 3.23 GB, free: 56.17 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/6.595, allocations: 0 / 3.23 GB, free: 56.17 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/6.595, allocations: 12.56 kB / 3.23 GB, free: 56.16 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/6.597, allocations: 1.246 MB / 3.231 GB, free: 54.79 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/6.597, allocations: 188.4 kB / 3.231 GB, free: 54.59 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/6.597, allocations: 76.84 kB / 3.232 GB, free: 54.52 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/6.597, allocations: 4 kB / 3.232 GB, free: 54.51 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/6.597, allocations: 34.56 kB / 3.232 GB, free: 54.47 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/6.597, allocations: 0 / 3.232 GB, free: 54.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0005089/6.598, allocations: 210.4 kB / 3.232 GB, free: 54.25 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/6.598, allocations: 59.39 kB / 3.232 GB, free: 54.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/6.598, allocations: 245.1 kB / 3.232 GB, free: 53.94 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/6.598, allocations: 25.7 kB / 3.232 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/6.598, allocations: 196.1 kB / 3.232 GB, free: 53.71 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/6.598, allocations: 66.95 kB / 3.232 GB, free: 53.64 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/6.598, allocations: 0 / 3.232 GB, free: 53.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/6.598, allocations: 338.8 kB / 3.233 GB, free: 53.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/6.598, allocations: 59.92 kB / 3.233 GB, free: 53.25 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/6.598, allocations: 110.9 kB / 3.233 GB, free: 53.11 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.516e-05/6.598, allocations: 71.91 kB / 3.233 GB, free: 53.04 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/6.598, allocations: 0 / 3.233 GB, free: 53.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002565/6.599, allocations: 226 kB / 3.233 GB, free: 52.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/6.599, allocations: 7.938 kB / 3.233 GB, free: 52.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/6.599, allocations: 0 / 3.233 GB, free: 52.81 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/6.599, allocations: 4 kB / 3.233 GB, free: 52.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/6.599, allocations: 43.92 kB / 3.233 GB, free: 52.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/6.599, allocations: 7.938 kB / 3.233 GB, free: 52.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/6.599, allocations: 27.97 kB / 3.233 GB, free: 52.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/6.599, allocations: 8 kB / 3.233 GB, free: 52.72 MB / 0.8698 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.832e-05/6.599, allocations: 111.8 kB / 3.233 GB, free: 52.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/6.599, allocations: 31.62 kB / 3.233 GB, free: 52.57 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.336e-05/6.599, allocations: 34.14 kB / 3.233 GB, free: 52.54 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/6.599, allocations: 0 / 3.233 GB, free: 52.54 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/6.599, allocations: 4 kB / 3.233 GB, free: 52.54 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/6.599, allocations: 0 / 3.233 GB, free: 52.54 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/6.6, allocations: 365.8 kB / 3.234 GB, free: 52.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/6.6, allocations: 0 / 3.234 GB, free: 52.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/6.6, allocations: 35.98 kB / 3.234 GB, free: 52.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001896/6.6, allocations: 40.83 kB / 3.234 GB, free: 52.06 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/6.6, allocations: 0 / 3.234 GB, free: 52.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000856/6.601, allocations: 1.381 MB / 3.235 GB, free: 50.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/6.601, allocations: 0 / 3.235 GB, free: 50.56 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/6.602, allocations: 394.1 kB / 3.236 GB, free: 50.16 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/6.602, allocations: 128.7 kB / 3.236 GB, free: 50.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/6.602, allocations: 8 kB / 3.236 GB, free: 50.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/6.602, allocations: 4 kB / 3.236 GB, free: 50 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/6.602, allocations: 15.97 kB / 3.236 GB, free: 49.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/6.602, allocations: 7.953 kB / 3.236 GB, free: 49.98 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001456/6.602, allocations: 196.6 kB / 3.236 GB, free: 49.79 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/6.602, allocations: 4 kB / 3.236 GB, free: 49.79 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005281/6.603, allocations: 147.7 kB / 3.236 GB, free: 49.64 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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.0008826/6.604, allocations: 0.8122 MB / 3.237 GB, free: 48.83 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002457/6.604, allocations: 139.9 kB / 3.237 GB, free: 48.69 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/6.604, allocations: 4 kB / 3.237 GB, free: 48.69 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/6.604, allocations: 186 kB / 3.237 GB, free: 48.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008445/6.605, allocations: 176.5 kB / 3.237 GB, free: 48.32 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008658/6.606, allocations: 0.5476 MB / 3.238 GB, free: 47.75 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/6.606, allocations: 0.7999 MB / 3.239 GB, free: 46.92 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002608/6.606, allocations: 67.23 kB / 3.239 GB, free: 46.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/6.606, allocations: 27.44 kB / 3.239 GB, free: 46.83 MB / 0.8698 GB Notification: Performance of SimCode: time 3.3e-07/6.606, allocations: 0 / 3.239 GB, free: 46.83 MB / 0.8698 GB Notification: Performance of Templates: time 0.01302/6.619, allocations: 9.454 MB / 3.248 GB, free: 37.45 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches