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.001601/0.001601, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00186/0.00186, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.03 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3673, allocations: 157.4 MB / 1.052 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001879/0.3693, allocations: 0.5956 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001813/0.3695, allocations: 43.86 kB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.3695, allocations: 0 / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.3696, allocations: 0 / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.3698, allocations: 3.938 kB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.598e-05/0.3698, allocations: 8 kB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.631e-05/0.3699, allocations: 11.98 kB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.515e-05/0.3699, allocations: 4 kB / 1.053 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/0.37, allocations: 11.92 kB / 1.053 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.3701, allocations: 11.92 kB / 1.053 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.3701, allocations: 4 kB / 1.053 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.3701, allocations: 0 / 1.053 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.3702, allocations: 0 / 1.053 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.3702, allocations: 11.94 kB / 1.053 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.098e-05/0.3703, allocations: 11.92 kB / 1.053 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3703, allocations: 0 / 1.053 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.42e-07/0.3703, allocations: 0 / 1.053 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.3703, allocations: 0 / 1.053 GB, free: 8.168 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.0004619/0.3708, allocations: 335.5 kB / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3708, allocations: 8.031 kB / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.3709, allocations: 8.828 kB / 1.053 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.3711, allocations: 172.6 kB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.3711, allocations: 4.375 kB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3711, allocations: 384 / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.294e-05/0.3712, allocations: 34.25 kB / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3712, allocations: 192 / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3712, allocations: 3.938 kB / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3712, allocations: 7.938 kB / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.106e-05/0.3713, allocations: 4 kB / 1.053 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.3714, allocations: 153.7 kB / 1.053 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.533e-05/0.3715, allocations: 22.56 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.3715, allocations: 12.86 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.3715, allocations: 0 / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.3716, allocations: 34.56 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.3716, allocations: 4 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.00016/0.3717, allocations: 49.47 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.3718, allocations: 51.41 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.3719, allocations: 109.8 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3719, allocations: 29.69 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.3719, allocations: 84.14 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.372, allocations: 0 / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.372, allocations: 13.84 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3721, allocations: 318.8 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.3721, allocations: 11.98 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.3721, allocations: 13.72 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.836e-05/0.3722, allocations: 29.64 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3722, allocations: 0 / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.313e-05/0.3723, allocations: 53.59 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3723, allocations: 7.938 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3723, allocations: 7.938 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3723, allocations: 0 / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.3724, allocations: 8.234 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3724, allocations: 0 / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.3725, allocations: 4 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.3725, allocations: 0 / 1.054 GB, free: 6.367 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 7.679e-05/0.3726, allocations: 121.9 kB / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/0.3726, allocations: 0 / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.3727, allocations: 53.16 kB / 1.054 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3727, allocations: 0 / 1.054 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.3727, allocations: 0 / 1.054 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3727, allocations: 3.938 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3728, allocations: 153.7 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3728, allocations: 0 / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.3729, allocations: 11.98 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3729, allocations: 0 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3729, allocations: 7.969 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3729, allocations: 0 / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3729, allocations: 0 / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.3731, allocations: 69.12 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.3731, allocations: 89.03 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3731, allocations: 3.938 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/0.3732, allocations: 0 / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.3732, allocations: 4.094 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.3732, allocations: 7.938 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.3733, allocations: 91.27 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.723e-06/0.3733, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001748/0.3735, allocations: 3.938 kB / 1.055 GB, free: 5.656 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.00011/0.3736, allocations: 95.25 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.241e-05/0.3737, allocations: 19.98 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3737, allocations: 0 / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.768e-05/0.3737, allocations: 8.125 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.3739, allocations: 2.109 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.3742, allocations: 131.2 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.3744, allocations: 0.677 MB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.3745, allocations: 4 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.3745, allocations: 7.438 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.3745, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of Templates: time 0.002266/0.3768, allocations: 309.2 kB / 1.056 GB, free: 4.355 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