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.001898/0.001898, allocations: 107.9 kB / 16.27 MB, free: 6.004 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.002225/0.002225, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.427/2.427, allocations: 437 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 60.38 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2724, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001949/0.2744, allocations: 0.527 MB / 1.018 GB, free: 10.12 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001928/0.2746, allocations: 39.86 kB / 1.018 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.2747, allocations: 3.938 kB / 1.019 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.2748, allocations: 4 kB / 1.019 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.2749, allocations: 11.94 kB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.571e-05/0.275, allocations: 4 kB / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.147e-05/0.2751, allocations: 15.92 kB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.45e-05/0.2751, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.2752, allocations: 8 kB / 1.019 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.761e-05/0.2753, allocations: 11.92 kB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.2753, allocations: 0 / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.2753, allocations: 0 / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.2754, allocations: 7.984 kB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.2754, allocations: 7.938 kB / 1.019 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.516e-05/0.2755, allocations: 11.92 kB / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2755, allocations: 4 kB / 1.019 GB, free: 9.996 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2755, allocations: 0 / 1.019 GB, free: 9.996 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.2755, allocations: 0 / 1.019 GB, free: 9.996 MB / 0.795 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.0004995/0.276, allocations: 327.5 kB / 1.019 GB, free: 9.625 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2761, allocations: 8.922 kB / 1.019 GB, free: 9.617 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.2761, allocations: 12.83 kB / 1.019 GB, free: 9.605 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.2763, allocations: 176.6 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.2763, allocations: 4.375 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.2763, allocations: 4.312 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.059e-05/0.2764, allocations: 34.25 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2764, allocations: 192 / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2765, allocations: 3.938 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2765, allocations: 0 / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.2765, allocations: 4 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.2766, allocations: 153.7 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.8e-05/0.2767, allocations: 26.56 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.2767, allocations: 12.86 kB / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.2768, allocations: 0 / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2768, allocations: 30.56 kB / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2768, allocations: 0 / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.2769, allocations: 49.53 kB / 1.019 GB, free: 8.996 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.277, allocations: 55.41 kB / 1.019 GB, free: 8.93 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.2771, allocations: 114 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2771, allocations: 25.7 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.2771, allocations: 88.14 kB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.2772, allocations: 0 / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.2772, allocations: 13.72 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.2773, allocations: 310.8 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/0.2773, allocations: 15.92 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/0.2774, allocations: 21.66 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.299e-05/0.2774, allocations: 17.7 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2774, allocations: 4 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.888e-05/0.2775, allocations: 53.53 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2775, allocations: 10.59 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2775, allocations: 3.938 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2775, allocations: 0 / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.2776, allocations: 8.125 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2776, allocations: 0 / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.2777, allocations: 4 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.2777, allocations: 3.984 kB / 1.02 GB, free: 8.199 MB / 0.795 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.132e-05/0.2778, allocations: 109.8 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.2778, allocations: 4 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.2779, allocations: 53.09 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2779, allocations: 4 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.2779, allocations: 4.031 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2779, allocations: 0 / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.278, allocations: 157.7 kB / 1.02 GB, free: 7.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.278, allocations: 0 / 1.02 GB, free: 7.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.2781, allocations: 8.234 kB / 1.02 GB, free: 7.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2781, allocations: 0 / 1.02 GB, free: 7.801 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.2781, allocations: 7.938 kB / 1.02 GB, free: 7.793 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2781, allocations: 0 / 1.02 GB, free: 7.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2781, allocations: 4 kB / 1.02 GB, free: 7.789 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.2782, allocations: 81.06 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.2783, allocations: 85 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.2783, allocations: 7.969 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.2783, allocations: 0 / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.2784, allocations: 0 / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.2784, allocations: 0 / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.2784, allocations: 91.27 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2784, allocations: 0 / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001849/0.2786, allocations: 4 kB / 1.021 GB, free: 7.488 MB / 0.795 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.712e-05/0.2787, allocations: 99.34 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.995e-05/0.2788, allocations: 11.98 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2788, allocations: 0 / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.606e-05/0.2788, allocations: 11.94 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.279, allocations: 5.969 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.2793, allocations: 147.7 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.2795, allocations: 0.6768 MB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.2795, allocations: 15.38 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2795, allocations: 3.938 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of Templates: time 0.001724/0.2813, allocations: 0.4973 MB / 1.022 GB, free: 5.953 MB / 0.795 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches