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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001224/0.001223, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001504/0.001504, allocations: 191.1 kB / 16.25 MB, free: 6.625 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.826/2.826, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 67.75 kB / 0.8986 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3568, allocations: 157.4 MB / 1.052 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001775/0.3586, allocations: 0.5937 MB / 1.053 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001719/0.3588, allocations: 43.81 kB / 1.053 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.3588, allocations: 4 kB / 1.053 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.3589, allocations: 0 / 1.053 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.359, allocations: 0 / 1.053 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.722e-05/0.3591, allocations: 19.91 kB / 1.053 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.075e-05/0.3592, allocations: 8 kB / 1.053 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.3592, allocations: 0 / 1.053 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/0.3593, allocations: 4 kB / 1.053 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.738e-05/0.3594, allocations: 11.92 kB / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3594, allocations: 0 / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-06/0.3594, allocations: 4 kB / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.3594, allocations: 8 kB / 1.053 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.3595, allocations: 3.938 kB / 1.053 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.148e-05/0.3595, allocations: 15.91 kB / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3595, allocations: 0 / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3595, allocations: 0 / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3596, allocations: 4 kB / 1.053 GB, free: 8.012 MB / 0.8106 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.0003994/0.36, allocations: 335.4 kB / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.36, allocations: 12.62 kB / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.36, allocations: 4.844 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.3602, allocations: 176.6 kB / 1.053 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-06/0.3602, allocations: 384 / 1.053 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.3603, allocations: 4.375 kB / 1.053 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.369e-05/0.3603, allocations: 34.25 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3604, allocations: 4.188 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3604, allocations: 7.938 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3604, allocations: 0 / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.067e-05/0.3604, allocations: 3.984 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.3606, allocations: 157.7 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.117e-05/0.3606, allocations: 22.55 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.3606, allocations: 8.922 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.3607, allocations: 0 / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.3607, allocations: 30.56 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3607, allocations: 3.938 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.3608, allocations: 53.52 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.3609, allocations: 59.47 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/0.361, allocations: 113.8 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.361, allocations: 25.7 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.361, allocations: 80.14 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.361, allocations: 0 / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.3611, allocations: 17.72 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.3612, allocations: 310.8 kB / 1.054 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.3612, allocations: 7.984 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.3612, allocations: 21.72 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/0.3613, allocations: 25.7 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3613, allocations: 0 / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.936e-05/0.3613, allocations: 49.53 kB / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3614, allocations: 4 kB / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3614, allocations: 4.062 kB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3614, allocations: 11.94 kB / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.3614, allocations: 0 / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3615, allocations: 4 kB / 1.054 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.3615, allocations: 4 kB / 1.054 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3615, allocations: 0 / 1.054 GB, free: 6.211 MB / 0.8106 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 6.887e-05/0.3616, allocations: 119.3 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.3616, allocations: 0 / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.145e-05/0.3617, allocations: 53.16 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3617, allocations: 4.031 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3617, allocations: 0 / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3617, allocations: 0 / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.541e-05/0.3618, allocations: 153.7 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3618, allocations: 0 / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.3619, allocations: 7.984 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3619, allocations: 0 / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3619, allocations: 7.938 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3619, allocations: 256 / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3619, allocations: 0 / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.362, allocations: 85.05 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.3621, allocations: 85.05 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.3621, allocations: 3.938 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/0.3621, allocations: 0 / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.041e-05/0.3621, allocations: 0 / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3621, allocations: 8 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.3622, allocations: 83.27 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3622, allocations: 96 / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001793/0.3624, allocations: 15.94 kB / 1.055 GB, free: 5.496 MB / 0.8106 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.0001072/0.3625, allocations: 95.25 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.671e-05/0.3626, allocations: 15.92 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3626, allocations: 0 / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.77e-05/0.3626, allocations: 11.98 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.3628, allocations: 4 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.3631, allocations: 117.8 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.3633, allocations: 0.6806 MB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.987e-05/0.3633, allocations: 4 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.3634, allocations: 11.38 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3634, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.002085/0.3655, allocations: 317.1 kB / 1.056 GB, free: 4.191 MB / 0.8106 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches