Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.00116/0.00116, allocations: 175.9 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.673/1.673, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009137/0.0009137, allocations: 90.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.126e-05, allocations: 0 / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.244, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7847/1.029, allocations: 130.8 MB / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/1.029, allocations: 68.45 kB / 1.02 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006125/1.03, allocations: 414.6 kB / 1.02 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.993e-06/1.03, allocations: 0 / 1.02 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.592e-06/1.03, allocations: 0 / 1.02 GB, free: 3.504 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002139/1.03, allocations: 306.5 kB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.03, allocations: 8.031 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/1.03, allocations: 3.938 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.313e-05/1.03, allocations: 167 kB / 1.02 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/1.03, allocations: 3.219 kB / 1.02 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/1.03, allocations: 4 kB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/1.03, allocations: 43.36 kB / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.03, allocations: 0 / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/1.03, allocations: 0 / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/1.03, allocations: 0 / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/1.03, allocations: 8 kB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/1.03, allocations: 162.2 kB / 1.021 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.8e-05/1.03, allocations: 40.34 kB / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/1.031, allocations: 13.84 kB / 1.021 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/1.031, allocations: 0 / 1.021 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/1.031, allocations: 38.5 kB / 1.021 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/1.031, allocations: 3.938 kB / 1.021 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001277/1.031, allocations: 41.5 kB / 1.021 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/1.031, allocations: 79.84 kB / 1.021 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.196e-05/1.031, allocations: 85 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/1.031, allocations: 25.7 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/1.031, allocations: 84.2 kB / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/1.031, allocations: 11.84 kB / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/1.031, allocations: 3.062 kB / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/1.031, allocations: 314.8 kB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/1.031, allocations: 0 / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/1.031, allocations: 17.7 kB / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.241e-05/1.031, allocations: 4 kB / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.031, allocations: 4.062 kB / 1.021 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.696e-05/1.031, allocations: 45.47 kB / 1.021 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.031, allocations: 5.875 kB / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.031, allocations: 4 kB / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/1.031, allocations: 0 / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/1.031, allocations: 7.984 kB / 1.021 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/1.031, allocations: 0 / 1.021 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/1.031, allocations: 0 / 1.021 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/1.031, allocations: 0 / 1.021 GB, free: 1.785 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 5.695e-05/1.031, allocations: 109 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/1.031, allocations: 3.953 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/1.031, allocations: 52.64 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.031, allocations: 0 / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.032, allocations: 0 / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.032, allocations: 4 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.318e-05/1.032, allocations: 153.2 kB / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.032, allocations: 1.688 kB / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/1.032, allocations: 8.062 kB / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/1.032, allocations: 3.953 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/1.032, allocations: 4 kB / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.032, allocations: 0 / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.032, allocations: 0 / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.468e-05/1.032, allocations: 85.17 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/1.032, allocations: 85.06 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/1.032, allocations: 0 / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.566e-05/1.032, allocations: 3.812 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/1.032, allocations: 0 / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/1.032, allocations: 7.984 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.736e-05/1.032, allocations: 75.28 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.032, allocations: 3.938 kB / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001785/1.032, allocations: 3.984 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.000112/1.032, allocations: 99.28 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.331e-05/1.032, allocations: 11.94 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.032, allocations: 0 / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.858e-06/1.032, allocations: 6.875 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.696e-05/1.032, allocations: 2.406 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001712/1.033, allocations: 70.17 kB / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/1.033, allocations: 0.6811 MB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.786e-05/1.033, allocations: 0 / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/1.033, allocations: 7.438 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of SimCode: time 1.763e-06/1.033, allocations: 0 / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of Templates: time 0.001708/1.035, allocations: 193.8 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example8.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches