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.462/1.462, allocations: 249.3 MB / 261.9 MB, free: 5.793 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.001031/0.001031, allocations: 185.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.001143/0.001144, allocations: 82.48 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.062e-05/4.064e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.226, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.085/6.311, allocations: 2.187 GB / 3.078 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/6.312, allocations: 87.23 kB / 3.079 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9011/7.213, allocations: 161.9 MB / 3.237 GB, free: 260.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.437e-06/7.213, allocations: 0.9375 kB / 3.237 GB, free: 260.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.225e-05/7.213, allocations: 7.344 kB / 3.237 GB, free: 260.6 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.001072/7.214, allocations: 0.6157 MB / 3.237 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/7.214, allocations: 12.52 kB / 3.237 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/7.215, allocations: 134.3 kB / 3.237 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000727/7.216, allocations: 409.7 kB / 3.238 GB, free: 260 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/7.216, allocations: 24.64 kB / 3.238 GB, free: 260 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/7.216, allocations: 30.78 kB / 3.238 GB, free: 260 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/7.216, allocations: 271.8 kB / 3.238 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/7.217, allocations: 0.9688 kB / 3.238 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/7.217, allocations: 8.906 kB / 3.238 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/7.217, allocations: 10.69 kB / 3.238 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/7.217, allocations: 190.5 kB / 3.238 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/7.219, allocations: 1.314 MB / 3.24 GB, free: 259.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/7.219, allocations: 188.6 kB / 3.24 GB, free: 259.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/7.22, allocations: 84.5 kB / 3.24 GB, free: 259.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/7.22, allocations: 2.125 kB / 3.24 GB, free: 259.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/7.22, allocations: 39.38 kB / 3.24 GB, free: 259.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.824e-06/7.22, allocations: 0 / 3.24 GB, free: 259.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0006297/7.22, allocations: 231 kB / 3.24 GB, free: 259 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/7.22, allocations: 58.52 kB / 3.24 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/7.221, allocations: 270.5 kB / 3.24 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/7.221, allocations: 30.23 kB / 3.24 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/7.221, allocations: 191.5 kB / 3.241 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/7.221, allocations: 68.23 kB / 3.241 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/7.221, allocations: 5.844 kB / 3.241 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/7.221, allocations: 339.2 kB / 3.241 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/7.221, allocations: 61.55 kB / 3.241 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/7.221, allocations: 125 kB / 3.241 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/7.221, allocations: 79.89 kB / 3.241 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/7.221, allocations: 0.7188 kB / 3.241 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003639/7.222, allocations: 240 kB / 3.242 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/7.222, allocations: 5.547 kB / 3.242 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/7.222, allocations: 2.188 kB / 3.242 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/7.222, allocations: 7.266 kB / 3.242 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/7.222, allocations: 44.38 kB / 3.242 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/7.222, allocations: 5.312 kB / 3.242 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/7.222, allocations: 24.77 kB / 3.242 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/7.222, allocations: 7.031 kB / 3.242 GB, free: 258.2 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 7.441e-05/7.222, allocations: 119 kB / 3.242 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/7.223, allocations: 32.7 kB / 3.242 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/7.223, allocations: 37.89 kB / 3.242 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/7.223, allocations: 7.922 kB / 3.242 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/7.223, allocations: 0 / 3.242 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/7.223, allocations: 1.172 kB / 3.242 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/7.223, allocations: 405.2 kB / 3.242 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/7.223, allocations: 0.5625 kB / 3.242 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/7.224, allocations: 41.27 kB / 3.242 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/7.224, allocations: 39.92 kB / 3.242 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/7.224, allocations: 11.02 kB / 3.242 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/7.225, allocations: 1.411 MB / 3.244 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/7.225, allocations: 0.9688 kB / 3.244 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/7.225, allocations: 401.4 kB / 3.244 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/7.226, allocations: 134 kB / 3.244 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/7.226, allocations: 9.766 kB / 3.244 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/7.226, allocations: 18.25 kB / 3.244 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/7.226, allocations: 11.36 kB / 3.244 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/7.226, allocations: 9.125 kB / 3.244 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002587/7.226, allocations: 215.9 kB / 3.244 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.5e-07/7.226, allocations: 1.094 kB / 3.244 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007023/7.227, allocations: 161.2 kB / 3.245 GB, free: 256.3 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.00108/7.228, allocations: 0.7032 MB / 3.245 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003292/7.228, allocations: 158.6 kB / 3.245 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/7.228, allocations: 0 / 3.245 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/7.229, allocations: 196.8 kB / 3.246 GB, free: 256 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009512/7.23, allocations: 177.4 kB / 3.246 GB, free: 256 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/7.231, allocations: 0.5631 MB / 3.246 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/7.231, allocations: 0.8036 MB / 3.247 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003436/7.232, allocations: 69.08 kB / 3.247 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/7.232, allocations: 27.41 kB / 3.247 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/7.232, allocations: 0 / 3.247 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.02821/7.26, allocations: 16.8 MB / 3.264 GB, free: 254.4 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