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.36/1.36, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 183.5 kB / 326.5 MB, free: 2.254 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.658/1.658, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008393/0.0008393, allocations: 98.27 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 8.938 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2178, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.103/5.321, allocations: 2.187 GB / 3.087 GB, free: 33.57 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/5.321, allocations: 93.39 kB / 3.087 GB, free: 33.48 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.958/6.279, allocations: 162.1 MB / 3.245 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.142e-06/6.279, allocations: 0 / 3.245 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.476e-05/6.279, allocations: 15.92 kB / 3.245 GB, free: 233.7 MB / 0.8855 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.001439/6.281, allocations: 0.6777 MB / 3.246 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/6.281, allocations: 12.03 kB / 3.246 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/6.282, allocations: 143.3 kB / 3.246 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007771/6.283, allocations: 407.9 kB / 3.246 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/6.283, allocations: 21.08 kB / 3.246 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/6.283, allocations: 27.98 kB / 3.246 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/6.283, allocations: 287.6 kB / 3.247 GB, free: 232 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/6.283, allocations: 0 / 3.247 GB, free: 232 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/6.283, allocations: 15.98 kB / 3.247 GB, free: 232 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/6.283, allocations: 8.562 kB / 3.247 GB, free: 232 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/6.284, allocations: 194.1 kB / 3.247 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/6.285, allocations: 1.301 MB / 3.248 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/6.286, allocations: 195.3 kB / 3.248 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/6.286, allocations: 11.95 kB / 3.248 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/6.286, allocations: 34.55 kB / 3.248 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/6.286, allocations: 0 / 3.248 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0008956/6.287, allocations: 401.4 kB / 3.249 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/6.287, allocations: 55.41 kB / 3.249 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/6.287, allocations: 263.7 kB / 3.249 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/6.287, allocations: 29.7 kB / 3.249 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.765e-05/6.287, allocations: 200.3 kB / 3.249 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/6.287, allocations: 67 kB / 3.249 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/6.287, allocations: 4 kB / 3.249 GB, free: 229 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.521e-05/6.287, allocations: 342.8 kB / 3.25 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/6.287, allocations: 63.97 kB / 3.25 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/6.287, allocations: 122.8 kB / 3.25 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/6.288, allocations: 76.02 kB / 3.25 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/6.288, allocations: 3.938 kB / 3.25 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003229/6.288, allocations: 243 kB / 3.25 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/6.288, allocations: 8 kB / 3.25 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/6.288, allocations: 3.984 kB / 3.25 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/6.288, allocations: 4 kB / 3.25 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/6.288, allocations: 39.98 kB / 3.25 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/6.288, allocations: 12.12 kB / 3.25 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/6.289, allocations: 27.75 kB / 3.25 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/6.289, allocations: 4 kB / 3.25 GB, free: 228.1 MB / 0.8855 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.0001677/6.289, allocations: 169.7 kB / 3.25 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/6.289, allocations: 27.72 kB / 3.25 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.044e-05/6.289, allocations: 39.08 kB / 3.251 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/6.289, allocations: 7.922 kB / 3.251 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/6.289, allocations: 8 kB / 3.251 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/6.289, allocations: 0 / 3.251 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/6.289, allocations: 405.2 kB / 3.251 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/6.289, allocations: 0 / 3.251 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/6.29, allocations: 35.98 kB / 3.251 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/6.29, allocations: 40.83 kB / 3.251 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/6.29, allocations: 4 kB / 3.251 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009864/6.291, allocations: 1.422 MB / 3.252 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/6.291, allocations: 0 / 3.252 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/6.291, allocations: 414.1 kB / 3.253 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/6.291, allocations: 132.8 kB / 3.253 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/6.292, allocations: 0 / 3.253 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/6.292, allocations: 15.98 kB / 3.253 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/6.292, allocations: 11.98 kB / 3.253 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/6.292, allocations: 8 kB / 3.253 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001859/6.292, allocations: 215.1 kB / 3.253 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.51e-07/6.292, allocations: 0 / 3.253 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006121/6.293, allocations: 167.7 kB / 3.253 GB, free: 224.8 MB / 0.8855 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 () * 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.001008/6.294, allocations: 0.7074 MB / 3.254 GB, free: 224 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002949/6.294, allocations: 159.9 kB / 3.254 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/6.294, allocations: 0 / 3.254 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/6.294, allocations: 200.2 kB / 3.254 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008274/6.295, allocations: 189 kB / 3.255 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/6.296, allocations: 0.9604 MB / 3.255 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/6.297, allocations: 0.804 MB / 3.256 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003043/6.297, allocations: 58.94 kB / 3.256 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/6.297, allocations: 27.44 kB / 3.256 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/6.297, allocations: 0 / 3.256 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.01979/6.317, allocations: 14.75 MB / 3.271 GB, free: 206.9 MB / 0.8855 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