Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.0009332, allocations: 96.02 kB / 15.05 MB, free: 1.109 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.0009394/0.0009394, allocations: 181.3 kB / 15.95 MB, free: 216 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.641/2.641, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.000329, allocations: 8 kB / 0.8708 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6039/0.6043, allocations: 153.7 MB / 1.021 GB, free: 1.141 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0005952/0.6049, allocations: 256.6 kB / 1.021 GB, free: 0.8906 MB / 0.7638 GB Notification: Performance of NFInst.instExpressions: time 0.0001058/0.605, allocations: 8 kB / 1.021 GB, free: 0.8828 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.9e-05/0.6051, allocations: 7.938 kB / 1.021 GB, free: 0.875 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 1.122e-05/0.6051, allocations: 7.875 kB / 1.021 GB, free: 0.8672 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.6052, allocations: 0 / 1.021 GB, free: 0.8672 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.6052, allocations: 0 / 1.021 GB, free: 0.8672 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 3.721e-05/0.6053, allocations: 3.984 kB / 1.021 GB, free: 0.8633 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.6053, allocations: 11.98 kB / 1.021 GB, free: 0.8516 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.6053, allocations: 4 kB / 1.021 GB, free: 0.8477 MB / 0.7638 GB Notification: Performance of NFSimplifyModel.simplify: time 4.017e-05/0.6054, allocations: 0 / 1.021 GB, free: 0.8477 MB / 0.7638 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.6054, allocations: 0 / 1.021 GB, free: 0.8477 MB / 0.7638 GB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-06/0.6054, allocations: 0 / 1.021 GB, free: 0.8477 MB / 0.7638 GB Notification: Performance of NFScalarize.scalarize: time 6.672e-06/0.6054, allocations: 7.938 kB / 1.021 GB, free: 0.8398 MB / 0.7638 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.6055, allocations: 25.7 kB / 1.021 GB, free: 0.8086 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 2.681e-05/0.6055, allocations: 0 / 1.021 GB, free: 0.8086 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.6055, allocations: 0 / 1.021 GB, free: 0.8086 MB / 0.7638 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6055, allocations: 0 / 1.021 GB, free: 0.8086 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.6055, allocations: 0 / 1.021 GB, free: 0.8086 MB / 0.7638 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.0002425/0.6058, allocations: 315.4 kB / 1.021 GB, free: 464 kB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.6058, allocations: 11.98 kB / 1.021 GB, free: 452 kB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.6058, allocations: 3.906 kB / 1.021 GB, free: 448 kB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.6059, allocations: 159.1 kB / 1.022 GB, free: 248 kB / 0.7638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.606, allocations: 4 kB / 1.022 GB, free: 244 kB / 0.7638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.606, allocations: 0 / 1.022 GB, free: 244 kB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.6061, allocations: 47.38 kB / 1.022 GB, free: 184 kB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.6061, allocations: 4 kB / 1.022 GB, free: 180 kB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.6061, allocations: 7.922 kB / 1.022 GB, free: 172 kB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.6061, allocations: 0 / 1.022 GB, free: 172 kB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.6061, allocations: 4 kB / 1.022 GB, free: 168 kB / 0.7638 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.6063, allocations: 154.5 kB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.592e-05/0.6064, allocations: 37.16 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.6064, allocations: 11.97 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.6064, allocations: 38.69 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.6064, allocations: 3.938 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001286/0.6066, allocations: 41.59 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.6066, allocations: 77.11 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.19e-05/0.6067, allocations: 106.1 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.6067, allocations: 25.7 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.6067, allocations: 80.14 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.6068, allocations: 5.875 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.6068, allocations: 0 / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.6069, allocations: 310.8 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.6069, allocations: 4 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.6069, allocations: 13.72 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.955e-05/0.6069, allocations: 12.12 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6069, allocations: 3.938 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.424e-05/0.607, allocations: 37.69 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.607, allocations: 8 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.607, allocations: 4 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.607, allocations: 3.953 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.862e-05/0.6071, allocations: 4 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6071, allocations: 7.922 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.6071, allocations: 4.062 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.6072, allocations: 0 / 1.023 GB, free: 15.05 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 6.86e-05/0.6072, allocations: 117.8 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.6072, allocations: 0 / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.6074, allocations: 48.75 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6074, allocations: 3.953 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.6074, allocations: 4 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.6074, allocations: 4.062 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.64e-05/0.6075, allocations: 141.7 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6075, allocations: 7.984 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.6075, allocations: 0 / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.6075, allocations: 4 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.6075, allocations: 0 / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.6075, allocations: 0 / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6075, allocations: 3.953 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.126e-05/0.6076, allocations: 91.64 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.6077, allocations: 77.11 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.6077, allocations: 3.938 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.614e-05/0.6077, allocations: 3.953 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.6077, allocations: 4 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.6077, allocations: 0 / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.808e-05/0.6078, allocations: 75.28 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6078, allocations: 4.125 kB / 1.023 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001843/0.608, allocations: 4 kB / 1.023 GB, free: 14.35 MB / 0.7794 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 () * 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 9.76e-05/0.6081, allocations: 99.17 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.658e-05/0.6081, allocations: 15.94 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6082, allocations: 0 / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.6082, allocations: 4 kB / 1.023 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.164e-05/0.6083, allocations: 256 / 1.023 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.6085, allocations: 105.6 kB / 1.023 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.6087, allocations: 0.6731 MB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.797e-05/0.6087, allocations: 3.984 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.6087, allocations: 11.44 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of SimCode: time 3.9e-07/0.6087, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of Templates: time 0.001639/0.6104, allocations: 180.3 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches