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.001449/0.001449, allocations: 102.2 kB / 16.27 MB, free: 6 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.001544/0.001544, allocations: 191 kB / 17.2 MB, free: 5.609 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.253/2.253, allocations: 390.2 MB / 0.6653 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 66.38 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2739, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002127/0.2761, allocations: 0.5341 MB / 0.9508 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001966/0.2763, allocations: 35.88 kB / 0.9508 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.2764, allocations: 4 kB / 0.9508 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.2764, allocations: 0 / 0.9508 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.2766, allocations: 11.88 kB / 0.9508 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.281e-05/0.2767, allocations: 11.98 kB / 0.9508 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.832e-05/0.2767, allocations: 11.92 kB / 0.9509 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.9e-05/0.2768, allocations: 0 / 0.9509 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.2768, allocations: 4 kB / 0.9509 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.312e-05/0.2769, allocations: 15.92 kB / 0.9509 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.277, allocations: 0 / 0.9509 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.277, allocations: 0 / 0.9509 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.277, allocations: 4 kB / 0.9509 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.2771, allocations: 7.922 kB / 0.9509 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.385e-05/0.2772, allocations: 11.98 kB / 0.9509 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2772, allocations: 4 kB / 0.9509 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2772, allocations: 0 / 0.9509 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2772, allocations: 4 kB / 0.9509 GB, free: 8.207 MB / 0.7325 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.0004636/0.2776, allocations: 323.5 kB / 0.9512 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2777, allocations: 12.03 kB / 0.9512 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.2778, allocations: 4.844 kB / 0.9512 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.2779, allocations: 176.6 kB / 0.9514 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.278, allocations: 384 / 0.9514 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.278, allocations: 4.375 kB / 0.9514 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.034e-05/0.2781, allocations: 42.19 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.2781, allocations: 8.062 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2781, allocations: 7.938 kB / 0.9515 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2781, allocations: 0 / 0.9515 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.2781, allocations: 0 / 0.9515 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.2783, allocations: 153.7 kB / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.63e-05/0.2784, allocations: 26.58 kB / 0.9516 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.2784, allocations: 16.86 kB / 0.9516 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.2784, allocations: 0 / 0.9516 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.2785, allocations: 30.56 kB / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.2785, allocations: 0 / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.2786, allocations: 49.53 kB / 0.9517 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.2787, allocations: 51.41 kB / 0.9518 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.2788, allocations: 113.8 kB / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.2788, allocations: 25.7 kB / 0.9519 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.2789, allocations: 88.25 kB / 0.952 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.2789, allocations: 0 / 0.952 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.2789, allocations: 17.72 kB / 0.952 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.279, allocations: 310.8 kB / 0.9523 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.2791, allocations: 7.938 kB / 0.9523 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.688e-05/0.2791, allocations: 21.7 kB / 0.9523 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.204e-05/0.2791, allocations: 21.78 kB / 0.9523 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2791, allocations: 0 / 0.9523 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.692e-05/0.2792, allocations: 49.62 kB / 0.9524 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2793, allocations: 7.984 kB / 0.9524 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2793, allocations: 3.938 kB / 0.9524 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2793, allocations: 4 kB / 0.9524 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.2794, allocations: 0 / 0.9524 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2794, allocations: 4 kB / 0.9524 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.2794, allocations: 7.969 kB / 0.9524 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.2794, allocations: 0 / 0.9524 GB, free: 6.414 MB / 0.7325 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 8.236e-05/0.2795, allocations: 109.8 kB / 0.9525 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.2795, allocations: 0 / 0.9525 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.2796, allocations: 61.08 kB / 0.9526 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2796, allocations: 0 / 0.9526 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2797, allocations: 0 / 0.9526 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2797, allocations: 0 / 0.9526 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.2798, allocations: 157.6 kB / 0.9527 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2798, allocations: 4.031 kB / 0.9527 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.2798, allocations: 4.25 kB / 0.9527 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2798, allocations: 0 / 0.9527 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2799, allocations: 11.94 kB / 0.9528 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2799, allocations: 3.984 kB / 0.9528 GB, free: 6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2799, allocations: 3.938 kB / 0.9528 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.28, allocations: 73.06 kB / 0.9528 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.2801, allocations: 93.12 kB / 0.9529 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.2801, allocations: 3.938 kB / 0.9529 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.307e-05/0.2801, allocations: 4 kB / 0.9529 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.2801, allocations: 0 / 0.9529 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.2801, allocations: 4 kB / 0.9529 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.2802, allocations: 87.27 kB / 0.953 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2802, allocations: 0 / 0.953 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001799/0.2804, allocations: 4 kB / 0.953 GB, free: 5.695 MB / 0.7325 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.0001149/0.2805, allocations: 99.25 kB / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.175e-05/0.2806, allocations: 11.98 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2806, allocations: 0 / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.2806, allocations: 11.94 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.2808, allocations: 4 kB / 0.9531 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.2811, allocations: 151.5 kB / 0.9533 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.2814, allocations: 0.6846 MB / 0.954 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.2814, allocations: 11.44 kB / 0.954 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.2814, allocations: 0 / 0.954 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.001782/0.2832, allocations: 0.5057 MB / 0.9545 GB, free: 4.156 MB / 0.7325 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