Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_9_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.001259/0.001259, allocations: 104.4 kB / 16.41 MB, free: 6.508 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.001317/0.001317, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.2 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8565/0.8579, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00164/0.8595, allocations: 0.5308 MB / 1.089 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001841/0.8597, allocations: 41.31 kB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.8598, allocations: 0 / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.8598, allocations: 0 / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.86, allocations: 7.109 kB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.787e-05/0.8601, allocations: 7.219 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.8601, allocations: 11.72 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.387e-05/0.8602, allocations: 6.094 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.459e-05/0.8602, allocations: 7.375 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.8603, allocations: 11 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.8603, allocations: 5.25 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.8604, allocations: 0 / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.8604, allocations: 3.219 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.449e-05/0.8605, allocations: 10.95 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.803e-05/0.8605, allocations: 17.22 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.8605, allocations: 2.266 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8605, allocations: 0 / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.8606, allocations: 0 / 1.089 GB, free: 5.109 MB / 0.8575 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.0003767/0.8609, allocations: 327.4 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.861, allocations: 13.38 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.861, allocations: 2.188 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.8612, allocations: 173.3 kB / 1.09 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.8612, allocations: 9.062 kB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.8612, allocations: 1.531 kB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.046e-05/0.8613, allocations: 32.59 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.8613, allocations: 192 / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.8613, allocations: 3.938 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.8613, allocations: 1.156 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.8614, allocations: 7.75 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.8615, allocations: 156.7 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.05e-05/0.8615, allocations: 23.02 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.8616, allocations: 8.328 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.8616, allocations: 1.125 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.8616, allocations: 36.39 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.8616, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.8618, allocations: 55.94 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.8618, allocations: 52.75 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.8619, allocations: 109.2 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.8619, allocations: 25.7 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.8619, allocations: 85.69 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.8619, allocations: 5.969 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.862, allocations: 12.77 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.862, allocations: 321.4 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.862, allocations: 3.828 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.8621, allocations: 19.05 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/0.8621, allocations: 19.69 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8621, allocations: 0 / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.241e-05/0.8622, allocations: 54.55 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.8622, allocations: 12.28 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.8622, allocations: 4.641 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.8623, allocations: 1.344 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.8623, allocations: 3.391 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-06/0.8623, allocations: 0.9688 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.8624, allocations: 5.516 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.8624, allocations: 2.625 kB / 1.091 GB, free: 3.48 MB / 0.8575 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 5.408e-05/0.8624, allocations: 112.5 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.8625, allocations: 1.578 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.8626, allocations: 61.84 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8626, allocations: 0 / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8626, allocations: 1.094 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.8626, allocations: 0.7969 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.726e-05/0.8627, allocations: 154.9 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.8627, allocations: 1.125 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.8627, allocations: 3.984 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.8627, allocations: 0.7969 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.8628, allocations: 5 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8628, allocations: 4.031 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8628, allocations: 1.094 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.8629, allocations: 80.36 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.8629, allocations: 81.14 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.8629, allocations: 9.688 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.863, allocations: 0.8594 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.863, allocations: 1.781 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.863, allocations: 9.188 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.863, allocations: 89.5 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.863, allocations: 4.719 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001809/0.8632, allocations: 3.188 kB / 1.091 GB, free: 2.844 MB / 0.8575 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 9.276e-05/0.8633, allocations: 94.39 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.8634, allocations: 12.52 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8634, allocations: 0 / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.8635, allocations: 14.95 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.8636, allocations: 6.797 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.8639, allocations: 135.7 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.864, allocations: 0.6777 MB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.8641, allocations: 9.172 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.8641, allocations: 0 / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of Templates: time 0.002036/0.8661, allocations: 0.508 MB / 1.093 GB, free: 1.883 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches