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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001627/0.001627, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001596/0.001596, allocations: 194.7 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.692/2.692, allocations: 482.4 MB / 0.755 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 72.27 kB / 0.924 GB, free: 368 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.873/0.875, allocations: 162.2 MB / 1.082 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00189/0.8769, allocations: 0.6016 MB / 1.083 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001889/0.8771, allocations: 37.23 kB / 1.083 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.917e-05/0.8772, allocations: 0 / 1.083 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.8773, allocations: 0 / 1.083 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.8774, allocations: 11.12 kB / 1.083 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.644e-05/0.8775, allocations: 6.219 kB / 1.083 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.655e-05/0.8775, allocations: 11.25 kB / 1.083 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.8776, allocations: 2.562 kB / 1.083 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.141e-05/0.8777, allocations: 7.453 kB / 1.083 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.8777, allocations: 13.97 kB / 1.083 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.8778, allocations: 1.062 kB / 1.083 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.8778, allocations: 0 / 1.083 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.8778, allocations: 3.781 kB / 1.083 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.8779, allocations: 6.875 kB / 1.083 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.357e-05/0.8779, allocations: 9.141 kB / 1.083 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.8779, allocations: 5.031 kB / 1.083 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.116e-06/0.8779, allocations: 0 / 1.083 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.8779, allocations: 0 / 1.083 GB, free: 1.195 MB / 0.8262 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.0003912/0.8783, allocations: 336.3 kB / 1.083 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.8784, allocations: 9.781 kB / 1.083 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.8784, allocations: 1.875 kB / 1.083 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.8786, allocations: 178.5 kB / 1.084 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.8786, allocations: 1.5 kB / 1.084 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.8786, allocations: 1.375 kB / 1.084 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.632e-05/0.8787, allocations: 35.98 kB / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.8787, allocations: 192 / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.8787, allocations: 5.391 kB / 1.084 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.8787, allocations: 0 / 1.084 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.8788, allocations: 8.172 kB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.8789, allocations: 153.5 kB / 1.084 GB, free: 404 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.242e-05/0.8789, allocations: 23.48 kB / 1.084 GB, free: 376 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.879, allocations: 9.047 kB / 1.084 GB, free: 368 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.879, allocations: 0 / 1.084 GB, free: 368 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.879, allocations: 31.69 kB / 1.084 GB, free: 328 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.879, allocations: 7.938 kB / 1.084 GB, free: 320 kB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.8792, allocations: 53.08 kB / 1.084 GB, free: 276 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.8792, allocations: 52.11 kB / 1.084 GB, free: 212 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.476e-05/0.8793, allocations: 109 kB / 1.084 GB, free: 108 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.8793, allocations: 26.89 kB / 1.084 GB, free: 76 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.8793, allocations: 81.95 kB / 1.084 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.8794, allocations: 7.906 kB / 1.084 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.8794, allocations: 13.97 kB / 1.084 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.8796, allocations: 316.5 kB / 1.085 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.8796, allocations: 8.375 kB / 1.085 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.8796, allocations: 16.14 kB / 1.085 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.673e-05/0.8797, allocations: 18.94 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8797, allocations: 5.25 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.193e-05/0.8798, allocations: 50.05 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.8798, allocations: 4.031 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.8798, allocations: 5 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.8798, allocations: 1.5 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.585e-05/0.8799, allocations: 3.938 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.8799, allocations: 1.125 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.8799, allocations: 1.969 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.8799, allocations: 5.031 kB / 1.085 GB, free: 15.57 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.824e-05/0.88, allocations: 110.2 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.8801, allocations: 5.938 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.8802, allocations: 56.36 kB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8802, allocations: 1.484 kB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.8802, allocations: 0.8125 kB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.8802, allocations: 256 / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.8804, allocations: 155.4 kB / 1.085 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8804, allocations: 5.438 kB / 1.085 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-05/0.8804, allocations: 3.234 kB / 1.085 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.8804, allocations: 0.6562 kB / 1.085 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.8805, allocations: 9.891 kB / 1.085 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8805, allocations: 3.938 kB / 1.085 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.8805, allocations: 0 / 1.085 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.8806, allocations: 84.98 kB / 1.085 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.8807, allocations: 80.77 kB / 1.085 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.8807, allocations: 9.875 kB / 1.085 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.8807, allocations: 1.547 kB / 1.085 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.8808, allocations: 6.094 kB / 1.085 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.8808, allocations: 4 kB / 1.085 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.8809, allocations: 90.31 kB / 1.085 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8809, allocations: 0 / 1.085 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001752/0.881, allocations: 2.781 kB / 1.085 GB, free: 14.93 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000117/0.8812, allocations: 94.67 kB / 1.085 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.829e-05/0.8813, allocations: 16.61 kB / 1.085 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8813, allocations: 0 / 1.085 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.028e-05/0.8813, allocations: 15.06 kB / 1.085 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.8815, allocations: 1.906 kB / 1.085 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.8818, allocations: 148 kB / 1.085 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.8822, allocations: 0.6779 MB / 1.086 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.8822, allocations: 8.438 kB / 1.086 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.8822, allocations: 0 / 1.086 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.002096/0.8843, allocations: 0.5064 MB / 1.087 GB, free: 13.96 MB / 0.8419 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=400 -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches