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.484/1.484, allocations: 249.3 MB / 261.8 MB, free: 5.867 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.001151/0.001151, allocations: 182.6 kB / 321.3 MB, free: 14.62 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.655/1.655, allocations: 205.2 MB / 0.572 GB, free: 10.57 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.000918/0.000918, allocations: 97.2 kB / 0.6764 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.993e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2075, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.762/0.9696, allocations: 130.8 MB / 1.02 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.9698, allocations: 68.02 kB / 1.02 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001198/0.971, allocations: 498.5 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9711, allocations: 0 / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.9711, allocations: 0 / 1.02 GB, free: 3.359 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.000281/0.9714, allocations: 316.4 kB / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.9714, allocations: 12.03 kB / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.9715, allocations: 0 / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.9717, allocations: 175 kB / 1.021 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.9717, allocations: 4 kB / 1.021 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.9717, allocations: 0 / 1.021 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.646e-05/0.9718, allocations: 36.69 kB / 1.021 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.9719, allocations: 0 / 1.021 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.9719, allocations: 0 / 1.021 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9719, allocations: 0 / 1.021 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.635e-05/0.9719, allocations: 7.938 kB / 1.021 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.9721, allocations: 156.7 kB / 1.021 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.94e-05/0.9721, allocations: 22.58 kB / 1.021 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.9722, allocations: 8.844 kB / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.9722, allocations: 4.062 kB / 1.021 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.9722, allocations: 34.55 kB / 1.021 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.9722, allocations: 0 / 1.021 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001385/0.9724, allocations: 45.17 kB / 1.021 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.9724, allocations: 58.12 kB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.9725, allocations: 100.8 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.9725, allocations: 25.7 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.9726, allocations: 84.14 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.9726, allocations: 0 / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.9726, allocations: 3.625 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.9727, allocations: 314.8 kB / 1.021 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.9727, allocations: 4 kB / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.9728, allocations: 17.72 kB / 1.021 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.279e-05/0.9728, allocations: 7.984 kB / 1.021 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.9728, allocations: 3.953 kB / 1.021 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.996e-05/0.9729, allocations: 52.81 kB / 1.021 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.9729, allocations: 4 kB / 1.021 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.9729, allocations: 5.188 kB / 1.021 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.9729, allocations: 0 / 1.021 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.973, allocations: 4 kB / 1.021 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.973, allocations: 4.125 kB / 1.021 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.9731, allocations: 3.906 kB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.9731, allocations: 0 / 1.022 GB, free: 1.688 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.215e-05/0.9732, allocations: 108.9 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.9732, allocations: 10.75 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.9733, allocations: 55.45 kB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.9733, allocations: 0 / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.9733, allocations: 0 / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.9733, allocations: 7.969 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.9734, allocations: 153.2 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9734, allocations: 0 / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.9735, allocations: 7.953 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.9735, allocations: 0 / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.9735, allocations: 0 / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.9735, allocations: 9.359 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.9735, allocations: 0 / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.9737, allocations: 80.06 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.9737, allocations: 81.02 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.9737, allocations: 7.984 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.9738, allocations: 3.984 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.9738, allocations: 0 / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.9738, allocations: 0 / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.957e-05/0.9739, allocations: 91.03 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9739, allocations: 0 / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001851/0.974, allocations: 4 kB / 1.022 GB, free: 1 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.0001279/0.9742, allocations: 107.3 kB / 1.022 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.819e-05/0.9743, allocations: 12 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9743, allocations: 0 / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.9743, allocations: 15.86 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.9744, allocations: 2.188 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.9747, allocations: 78.5 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.9749, allocations: 0.6811 MB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.62e-05/0.975, allocations: 7.938 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.975, allocations: 11.44 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of SimCode: time 3.31e-07/0.975, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of Templates: time 0.001941/0.9769, allocations: 295.4 kB / 1.023 GB, free: 15.75 MB / 0.6511 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