Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001156/0.001156, allocations: 184.8 kB / 492.3 MB, free: 0.6016 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.708/1.708, allocations: 221.3 MB / 0.7872 GB, free: 12.86 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.0009058/0.0009058, allocations: 91.89 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.99e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2832, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.291, allocations: 148.3 MB / 1.357 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.291, allocations: 72.14 kB / 1.357 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001786/1.293, allocations: 484 kB / 1.358 GB, free: 34.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.02e-07/1.293, allocations: 0.5 kB / 1.358 GB, free: 34.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.001e-05/1.293, allocations: 0.9062 kB / 1.358 GB, free: 34.79 MB / 0.8386 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.0002215/1.293, allocations: 317.1 kB / 1.358 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.293, allocations: 7.656 kB / 1.358 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/1.293, allocations: 4.734 kB / 1.358 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/1.293, allocations: 187.1 kB / 1.358 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/1.293, allocations: 3.969 kB / 1.358 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/1.293, allocations: 0 / 1.358 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.885e-05/1.293, allocations: 35.39 kB / 1.358 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/1.293, allocations: 0 / 1.358 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/1.293, allocations: 0 / 1.358 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.293, allocations: 3.984 kB / 1.358 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/1.293, allocations: 5.391 kB / 1.358 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/1.294, allocations: 160.6 kB / 1.358 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.872e-05/1.294, allocations: 27.05 kB / 1.359 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/1.294, allocations: 6.219 kB / 1.359 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/1.294, allocations: 0 / 1.359 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/1.294, allocations: 35.28 kB / 1.359 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/1.294, allocations: 3.938 kB / 1.359 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001325/1.294, allocations: 36.7 kB / 1.359 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/1.294, allocations: 59 kB / 1.359 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/1.294, allocations: 102.9 kB / 1.359 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/1.294, allocations: 26.5 kB / 1.359 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/1.294, allocations: 83.8 kB / 1.359 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/1.294, allocations: 0.5625 kB / 1.359 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/1.294, allocations: 0 / 1.359 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/1.294, allocations: 315.9 kB / 1.359 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/1.294, allocations: 6.562 kB / 1.359 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/1.294, allocations: 19.02 kB / 1.359 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.862e-05/1.294, allocations: 4.859 kB / 1.359 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.294, allocations: 3.953 kB / 1.359 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.454e-05/1.294, allocations: 55.39 kB / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.294, allocations: 5.891 kB / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.294, allocations: 0 / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.294, allocations: 0 / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/1.294, allocations: 9.672 kB / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.294, allocations: 0 / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/1.294, allocations: 3.844 kB / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/1.294, allocations: 1.453 kB / 1.359 GB, free: 33.25 MB / 0.8386 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.02e-05/1.295, allocations: 106.1 kB / 1.359 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/1.295, allocations: 7.797 kB / 1.359 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.9e-05/1.295, allocations: 50.08 kB / 1.359 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/1.295, allocations: 3.875 kB / 1.359 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.295, allocations: 5.234 kB / 1.359 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/1.295, allocations: 0 / 1.359 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.227e-05/1.295, allocations: 153.7 kB / 1.36 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.295, allocations: 2.5 kB / 1.36 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/1.295, allocations: 7.797 kB / 1.36 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.295, allocations: 0 / 1.36 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/1.295, allocations: 1.5 kB / 1.36 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/1.295, allocations: 0 / 1.36 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.295, allocations: 3.812 kB / 1.36 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/1.295, allocations: 80.66 kB / 1.36 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/1.295, allocations: 78.7 kB / 1.36 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/1.295, allocations: 11.73 kB / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.168e-05/1.295, allocations: 0 / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/1.295, allocations: 5.156 kB / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/1.295, allocations: 0 / 1.36 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.994e-05/1.295, allocations: 88.56 kB / 1.36 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.295, allocations: 0 / 1.36 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001777/1.295, allocations: 11.88 kB / 1.36 GB, free: 32.64 MB / 0.8386 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.0001254/1.295, allocations: 105 kB / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.219e-05/1.296, allocations: 13.97 kB / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.296, allocations: 0 / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/1.296, allocations: 12.81 kB / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001027/1.296, allocations: 0 / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/1.296, allocations: 73.73 kB / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/1.296, allocations: 0.6832 MB / 1.361 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.663e-05/1.296, allocations: 3.812 kB / 1.361 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/1.296, allocations: 7.438 kB / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/1.296, allocations: 0 / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.001965/1.298, allocations: 297.7 kB / 1.361 GB, free: 31.73 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches