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.0009785/0.0009788, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006901/0.006901, allocations: 171 kB / 16.26 MB, free: 6.676 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 462.7 MB / 0.7364 GB, free: 228 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004013, allocations: 9.812 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3729, allocations: 159.6 MB / 1.059 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.000777/0.3738, allocations: 270.9 kB / 1.059 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001614/0.374, allocations: 35.81 kB / 1.059 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.374, allocations: 0 / 1.059 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.374, allocations: 0 / 1.059 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.3742, allocations: 8 kB / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.727e-05/0.3743, allocations: 7.984 kB / 1.059 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.081e-05/0.3743, allocations: 11.94 kB / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.3744, allocations: 7.984 kB / 1.059 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.3744, allocations: 8 kB / 1.059 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.171e-05/0.3745, allocations: 7.938 kB / 1.059 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.3745, allocations: 0 / 1.059 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.3745, allocations: 0 / 1.059 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.3746, allocations: 7.984 kB / 1.059 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.3747, allocations: 29.64 kB / 1.059 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.162e-05/0.3747, allocations: 19.84 kB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.3747, allocations: 0 / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3747, allocations: 0 / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.3747, allocations: 0 / 1.059 GB, free: 5.016 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.0004085/0.3752, allocations: 331.5 kB / 1.059 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3752, allocations: 12.03 kB / 1.059 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.3752, allocations: 4.844 kB / 1.059 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.3754, allocations: 172.6 kB / 1.06 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3754, allocations: 8.312 kB / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3755, allocations: 4.375 kB / 1.06 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.103e-05/0.3755, allocations: 30.27 kB / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3756, allocations: 4.172 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3756, allocations: 7.938 kB / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3756, allocations: 0 / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.3756, allocations: 3.984 kB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.3758, allocations: 153.7 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.175e-05/0.3758, allocations: 22.55 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.3758, allocations: 8.922 kB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.3759, allocations: 0 / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3759, allocations: 38.55 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.3759, allocations: 0 / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001397/0.376, allocations: 49.62 kB / 1.06 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.3761, allocations: 51.41 kB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.3762, allocations: 109.8 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3762, allocations: 25.7 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.3762, allocations: 80.14 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.3763, allocations: 7.906 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.3763, allocations: 13.84 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3764, allocations: 322.8 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.3764, allocations: 0 / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.011e-05/0.3765, allocations: 13.72 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.3765, allocations: 25.7 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3765, allocations: 0 / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.859e-05/0.3766, allocations: 49.69 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3766, allocations: 8 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3766, allocations: 7.875 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.3766, allocations: 0 / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.3767, allocations: 8 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3767, allocations: 0 / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.3767, allocations: 3.984 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3768, allocations: 4 kB / 1.061 GB, free: 3.23 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.506e-05/0.3768, allocations: 113.9 kB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.3769, allocations: 11.84 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.377, allocations: 53.09 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.377, allocations: 0 / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.377, allocations: 4.25 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.377, allocations: 0 / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.3772, allocations: 161.7 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3772, allocations: 0 / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.3772, allocations: 4 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3772, allocations: 0 / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.3772, allocations: 7.969 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3773, allocations: 0 / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3773, allocations: 0 / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.3774, allocations: 81.05 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.3774, allocations: 77.11 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3775, allocations: 7.969 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.086e-05/0.3775, allocations: 0 / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.3775, allocations: 8.094 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.3775, allocations: 3.984 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.3776, allocations: 83.28 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3776, allocations: 0 / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001864/0.3778, allocations: 8 kB / 1.061 GB, free: 2.516 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.0001059/0.3779, allocations: 91.25 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.885e-05/0.3779, allocations: 15.98 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.378, allocations: 4.125 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.378, allocations: 11.92 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.3781, allocations: 0 / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.3784, allocations: 131.2 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.3787, allocations: 0.677 MB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.643e-05/0.3788, allocations: 4 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.3788, allocations: 7.438 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3788, allocations: 4.062 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of Templates: time 0.002191/0.381, allocations: 305.1 kB / 1.062 GB, free: 1.219 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