Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_10_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.002138/0.002138, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001443/0.001443, allocations: 189.2 kB / 16.25 MB, free: 6.637 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.479/1.479, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.819/2.819, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7548/0.7569, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002151/0.7591, allocations: 0.6012 MB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002005/0.7593, allocations: 43.75 kB / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.7594, allocations: 0 / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.7594, allocations: 0 / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.7596, allocations: 0 / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.633e-05/0.7596, allocations: 15.98 kB / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.295e-05/0.7597, allocations: 11.92 kB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.7598, allocations: 0 / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.664e-05/0.7598, allocations: 8 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.7599, allocations: 15.92 kB / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.7599, allocations: 0 / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.76, allocations: 4 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.76, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.7601, allocations: 7.922 kB / 1.017 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.23e-05/0.7601, allocations: 7.984 kB / 1.017 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.7601, allocations: 4 kB / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7601, allocations: 0 / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.7602, allocations: 0 / 1.018 GB, free: 2.012 MB / 0.7637 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.0005014/0.7607, allocations: 332.9 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.7607, allocations: 15.97 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.7608, allocations: 4.844 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.761, allocations: 174.3 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.761, allocations: 4.312 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.761, allocations: 8.312 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.813e-05/0.7611, allocations: 34.25 kB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.7612, allocations: 192 / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.7612, allocations: 3.938 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.7612, allocations: 4 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.7612, allocations: 0 / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.7614, allocations: 157.7 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.219e-05/0.7615, allocations: 18.52 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.7615, allocations: 12.91 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.7615, allocations: 0 / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.7615, allocations: 30.56 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.7615, allocations: 4 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001652/0.7617, allocations: 49.62 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.7618, allocations: 51.41 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.7619, allocations: 109.8 kB / 1.018 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.7619, allocations: 25.7 kB / 1.018 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.762, allocations: 80.14 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.762, allocations: 11.89 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.762, allocations: 17.78 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7622, allocations: 314.8 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.7622, allocations: 4 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.7622, allocations: 21.7 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.7623, allocations: 17.72 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7623, allocations: 0 / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.713e-05/0.7624, allocations: 53.69 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.7624, allocations: 5.562 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.7624, allocations: 3.938 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7624, allocations: 7.984 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.7625, allocations: 4 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.7625, allocations: 0 / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.7625, allocations: 0 / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.7626, allocations: 256 / 1.019 GB, free: 236 kB / 0.7637 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.347e-05/0.7627, allocations: 113.8 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.7627, allocations: 7.969 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.7628, allocations: 65.02 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.7628, allocations: 3.984 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.7628, allocations: 4 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.7628, allocations: 0 / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.763, allocations: 157.7 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.763, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.763, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.763, allocations: 4 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.7631, allocations: 11.91 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7631, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7631, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.7632, allocations: 81.05 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.7633, allocations: 85.05 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.7633, allocations: 7.922 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.7633, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.7634, allocations: 4.094 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.7634, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.7634, allocations: 91.27 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7635, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001739/0.7636, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 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.0001313/0.7638, allocations: 95.78 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.179e-05/0.7639, allocations: 15.98 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7639, allocations: 3.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.602e-05/0.7639, allocations: 12.12 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.764, allocations: 2.391 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.7643, allocations: 117.6 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.7647, allocations: 0.6768 MB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.813e-05/0.7647, allocations: 7.984 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.7648, allocations: 7.438 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7648, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.002557/0.7673, allocations: 317.1 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches