Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 249.5 MB / 257 MB, free: 6.832 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.00119/0.00119, allocations: 176.9 kB / 316.3 MB, free: 3.219 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.72/1.72, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009631/0.0009631, allocations: 88.23 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.071e-05/2.072e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2272, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8825/1.11, allocations: 131.1 MB / 1.013 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/1.11, allocations: 76.33 kB / 1.013 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001085/1.111, allocations: 487.2 kB / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.402e-06/1.111, allocations: 0 / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.111, allocations: 0 / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002989/1.111, allocations: 318.2 kB / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.112, allocations: 8.031 kB / 1.014 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/1.112, allocations: 7.938 kB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/1.112, allocations: 179 kB / 1.014 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/1.112, allocations: 0 / 1.014 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/1.112, allocations: 4 kB / 1.014 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.497e-05/1.112, allocations: 0 / 1.014 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.48e-05/1.112, allocations: 33.69 kB / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.112, allocations: 0 / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/1.112, allocations: 0 / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/1.112, allocations: 0 / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/1.112, allocations: 141.2 kB / 1.014 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.594e-05/1.112, allocations: 18.61 kB / 1.014 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/1.112, allocations: 12.86 kB / 1.014 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/1.112, allocations: 0 / 1.014 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/1.112, allocations: 37.61 kB / 1.014 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/1.112, allocations: 0 / 1.014 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001429/1.112, allocations: 37.61 kB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/1.113, allocations: 58.17 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/1.113, allocations: 101.4 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/1.113, allocations: 25.7 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/1.113, allocations: 83.2 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/1.113, allocations: 4 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/1.113, allocations: 0 / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.113, allocations: 317.8 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/1.113, allocations: 4 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/1.113, allocations: 13.72 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.798e-05/1.113, allocations: 11.92 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.113, allocations: 0 / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.364e-05/1.113, allocations: 48.95 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.113, allocations: 8 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.113, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/1.113, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/1.113, allocations: 8.125 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/1.113, allocations: 0 / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/1.113, allocations: 3.906 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/1.113, allocations: 4 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.698e-05/1.113, allocations: 108.9 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/1.113, allocations: 3.953 kB / 1.015 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/1.113, allocations: 56.44 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.113, allocations: 0 / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/1.113, allocations: 4.031 kB / 1.015 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.113, allocations: 7.922 kB / 1.015 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/1.114, allocations: 130.2 kB / 1.015 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.114, allocations: 4.75 kB / 1.015 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/1.114, allocations: 4 kB / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.114, allocations: 0 / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/1.114, allocations: 0 / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.114, allocations: 3.953 kB / 1.015 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.114, allocations: 4.5 kB / 1.015 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/1.114, allocations: 83.61 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/1.114, allocations: 81.02 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/1.114, allocations: 0 / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/1.114, allocations: 256 / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/1.114, allocations: 11.97 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/1.114, allocations: 4 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.172e-05/1.114, allocations: 82.47 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.114, allocations: 4 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002021/1.114, allocations: 4 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001377/1.114, allocations: 99.34 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.221e-05/1.114, allocations: 19.05 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.114, allocations: 0 / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.021e-05/1.114, allocations: 4 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/1.115, allocations: 2.578 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/1.115, allocations: 80.95 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/1.115, allocations: 0.6886 MB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.382e-05/1.115, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/1.115, allocations: 7.438 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/1.115, allocations: 3.938 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of Templates: time 0.001865/1.117, allocations: 274 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example5.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches