Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.535/2.535, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 8 kB / 0.8707 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.6778, allocations: 153.6 MB / 1.021 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0005757/0.6784, allocations: 268.6 kB / 1.021 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001407/0.6786, allocations: 35.84 kB / 1.021 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.6786, allocations: 0 / 1.021 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.6786, allocations: 4 kB / 1.021 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.6787, allocations: 7.984 kB / 1.021 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.199e-05/0.6788, allocations: 7.938 kB / 1.021 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.985e-05/0.6788, allocations: 7.984 kB / 1.021 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.6789, allocations: 0 / 1.021 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.6789, allocations: 7.984 kB / 1.021 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.033e-05/0.679, allocations: 11.98 kB / 1.021 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.679, allocations: 0 / 1.021 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-06/0.679, allocations: 3.938 kB / 1.021 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.6791, allocations: 4 kB / 1.021 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.6791, allocations: 29.7 kB / 1.021 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 3.28e-05/0.6791, allocations: 7.984 kB / 1.021 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.6792, allocations: 0 / 1.021 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6792, allocations: 0 / 1.021 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.6792, allocations: 3.938 kB / 1.021 GB, free: 0.875 MB / 0.7637 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.0003355/0.6795, allocations: 327.3 kB / 1.021 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.6795, allocations: 15.98 kB / 1.022 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.094e-05/0.6796, allocations: 0 / 1.022 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.6797, allocations: 177.1 kB / 1.022 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.6798, allocations: 3.984 kB / 1.022 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.6798, allocations: 8 kB / 1.022 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.515e-05/0.6798, allocations: 37.58 kB / 1.022 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.6799, allocations: 4 kB / 1.022 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.6799, allocations: 0 / 1.022 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6799, allocations: 0 / 1.022 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.397e-05/0.6799, allocations: 0 / 1.022 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.68, allocations: 153.7 kB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.559e-05/0.6801, allocations: 22.61 kB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.6801, allocations: 4 kB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.6801, allocations: 34.62 kB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.6802, allocations: 0 / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000126/0.6803, allocations: 49.56 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.6803, allocations: 51.41 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.6804, allocations: 109.8 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.6805, allocations: 29.64 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.6805, allocations: 88.27 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.6805, allocations: 3.906 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.6805, allocations: 4 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6807, allocations: 310.8 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.6807, allocations: 11.98 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.6807, allocations: 13.72 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.6808, allocations: 12 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6808, allocations: 0 / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.954e-05/0.6809, allocations: 45.69 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6809, allocations: 4 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6809, allocations: 0 / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.6809, allocations: 3.953 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.681, allocations: 7.984 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.681, allocations: 0 / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.681, allocations: 7.938 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.6811, allocations: 3.938 kB / 1.023 GB, free: 15.14 MB / 0.7794 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 () * Number of clocked 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 7.953e-05/0.6811, allocations: 109.9 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.6812, allocations: 4 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.6813, allocations: 49.45 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.6813, allocations: 7.953 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.6813, allocations: 4 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6813, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.6815, allocations: 157.6 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6815, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.6816, allocations: 8.031 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6816, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.6816, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6816, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.6816, allocations: 11.89 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.6818, allocations: 77.02 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.6819, allocations: 77.11 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.6819, allocations: 8.016 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.442e-05/0.6819, allocations: 8.094 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.6819, allocations: 0 / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.682, allocations: 3.953 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.307e-05/0.682, allocations: 91.27 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.682, allocations: 0 / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000187/0.6822, allocations: 4 kB / 1.023 GB, free: 14.43 MB / 0.7794 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 () * Number of clocked 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.0001376/0.6824, allocations: 91.25 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.02e-05/0.6825, allocations: 23.92 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6825, allocations: 0 / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.6825, allocations: 7.938 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.6826, allocations: 6.109 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.683, allocations: 130.8 kB / 1.023 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.6833, allocations: 0.677 MB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.6833, allocations: 4.188 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.6834, allocations: 15.42 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6834, allocations: 0 / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of Templates: time 0.002625/0.686, allocations: 299.2 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches