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.001683/0.001683, 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.001837/0.001837, allocations: 193.8 kB / 16.14 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.505/1.505, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.845/2.845, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.88 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7357/0.7377, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002148/0.7399, allocations: 0.5972 MB / 1.017 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001976/0.7401, allocations: 47.73 kB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.7402, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.487e-05/0.7402, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.7404, allocations: 4 kB / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.122e-05/0.7405, allocations: 11.94 kB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.4e-05/0.7405, allocations: 7.984 kB / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.7406, allocations: 4 kB / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.772e-05/0.7407, allocations: 4 kB / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.7407, allocations: 11.92 kB / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.7408, allocations: 8 kB / 1.017 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.7408, allocations: 0 / 1.017 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.7408, allocations: 3.984 kB / 1.017 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.7409, allocations: 7.938 kB / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.226e-05/0.741, allocations: 11.98 kB / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.741, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.62e-07/0.741, allocations: 3.938 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.741, allocations: 0 / 1.017 GB, free: 2.051 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.0005318/0.7415, allocations: 327.5 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.7416, allocations: 11.97 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.7416, allocations: 12.83 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.7418, allocations: 170.4 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.7418, allocations: 4.375 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.7419, allocations: 384 / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.471e-05/0.742, allocations: 34.25 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.742, allocations: 192 / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.742, allocations: 3.938 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.742, allocations: 0 / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.742, allocations: 4 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.7422, allocations: 157.7 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.7423, allocations: 22.5 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.7423, allocations: 8.922 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.7423, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.7424, allocations: 34.56 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.7424, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001576/0.7426, allocations: 57.47 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.7426, allocations: 51.41 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.7427, allocations: 113.8 kB / 1.018 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.7428, allocations: 25.7 kB / 1.018 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.7428, allocations: 88.12 kB / 1.018 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.7429, allocations: 0 / 1.018 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.7429, allocations: 13.72 kB / 1.018 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.743, allocations: 314.8 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.7431, allocations: 12.11 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/0.7431, allocations: 13.72 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.272e-05/0.7432, allocations: 21.7 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.7432, allocations: 0 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.624e-05/0.7433, allocations: 53.53 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.7433, allocations: 4 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.7433, allocations: 12.06 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7433, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.7434, allocations: 4.25 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7434, allocations: 0 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.7434, allocations: 4 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.7434, allocations: 0 / 1.019 GB, free: 276 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.765e-05/0.7435, allocations: 121.7 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.7436, allocations: 3.984 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.7437, allocations: 61.09 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7437, allocations: 0 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7437, allocations: 0 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.7437, allocations: 0 / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.7439, allocations: 161.7 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.7439, allocations: 0 / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/0.7439, allocations: 4 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.744, allocations: 3.984 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.744, allocations: 3.938 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.744, allocations: 0 / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.744, allocations: 0 / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.7441, allocations: 81.09 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/0.7442, allocations: 89.03 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.7442, allocations: 3.938 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.7443, allocations: 0 / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.7443, allocations: 4 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.7443, allocations: 0 / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.166e-05/0.7444, allocations: 91.36 kB / 1.019 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7444, allocations: 4 kB / 1.019 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001766/0.7445, allocations: 0 / 1.019 GB, free: 15.55 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.0001378/0.7447, allocations: 95.78 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.458e-05/0.7448, allocations: 19.92 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7448, allocations: 3.938 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.7448, allocations: 8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.745, allocations: 4.875 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.7453, allocations: 131.4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.7458, allocations: 0.677 MB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.7458, allocations: 4 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.7458, allocations: 7.438 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.7458, allocations: 0 / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.002856/0.7487, allocations: 301.2 kB / 1.021 GB, free: 14.25 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