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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001382/0.001382, allocations: 105 kB / 16.35 MB, free: 5.824 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.001307/0.001307, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.393/2.393, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 64.22 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2626, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001632/0.2643, allocations: 0.5417 MB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001579/0.2645, allocations: 51.86 kB / 1.019 GB, free: 9.285 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.2645, allocations: 0 / 1.019 GB, free: 9.285 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.2646, allocations: 3.938 kB / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.2647, allocations: 0 / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.573e-05/0.2647, allocations: 8 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.526e-05/0.2648, allocations: 11.92 kB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.2648, allocations: 4 kB / 1.019 GB, free: 9.258 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.2649, allocations: 3.984 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.265, allocations: 15.92 kB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.265, allocations: 0 / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.265, allocations: 8 kB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.265, allocations: 0 / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.2651, allocations: 11.92 kB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.321e-05/0.2651, allocations: 8 kB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2651, allocations: 0 / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2652, allocations: 3.938 kB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2652, allocations: 0 / 1.019 GB, free: 9.207 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.00036/0.2655, allocations: 335.5 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2656, allocations: 8.922 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.2656, allocations: 8.844 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.2658, allocations: 180.2 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.2658, allocations: 384 / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.2658, allocations: 4.375 kB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.777e-05/0.2659, allocations: 30.27 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.2659, allocations: 192 / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.2659, allocations: 3.938 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2659, allocations: 0 / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.794e-05/0.2659, allocations: 7.984 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.2661, allocations: 157.7 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.887e-05/0.2661, allocations: 22.52 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.2662, allocations: 8.797 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.2662, allocations: 0 / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.2662, allocations: 34.62 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 3.586e-06/0.2662, allocations: 3.984 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.000128/0.2663, allocations: 49.64 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.2664, allocations: 59.41 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.2665, allocations: 109.8 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.2665, allocations: 25.7 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.2665, allocations: 80.14 kB / 1.02 GB, free: 7.898 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.2666, allocations: 7.938 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.2666, allocations: 13.72 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.2667, allocations: 318.8 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.2667, allocations: 4 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.2667, allocations: 17.72 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.2668, allocations: 21.7 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2668, allocations: 0 / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.304e-05/0.2669, allocations: 53.53 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2669, allocations: 8 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2669, allocations: 8.062 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2669, allocations: 256 / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.267, allocations: 4 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.267, allocations: 7.938 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.267, allocations: 0 / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.267, allocations: 7.984 kB / 1.021 GB, free: 7.402 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 5.899e-05/0.2671, allocations: 105.8 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.2671, allocations: 0 / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.761e-05/0.2672, allocations: 61.09 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2672, allocations: 0 / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2672, allocations: 0 / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2672, allocations: 0 / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.892e-05/0.2673, allocations: 161.7 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2674, allocations: 0 / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.2674, allocations: 4 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2674, allocations: 0 / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.2674, allocations: 3.938 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2674, allocations: 0 / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2674, allocations: 0 / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.2676, allocations: 85.08 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.2676, allocations: 81.02 kB / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.2676, allocations: 3.938 kB / 1.021 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.444e-05/0.2677, allocations: 8.031 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.2677, allocations: 0 / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.2677, allocations: 3.938 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.83e-05/0.2678, allocations: 91.27 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2678, allocations: 4.094 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001841/0.268, allocations: 4 kB / 1.022 GB, free: 6.695 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 0.0001051/0.2681, allocations: 91.25 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.214e-05/0.2682, allocations: 15.98 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2682, allocations: 3.938 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.2682, allocations: 7.984 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.2683, allocations: 8 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.2686, allocations: 122 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.2688, allocations: 0.6768 MB / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.2688, allocations: 4 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.2688, allocations: 7.438 kB / 1.022 GB, free: 5.699 MB / 0.795 GB Notification: Performance of SimCode: time 1.954e-06/0.2688, allocations: 0 / 1.022 GB, free: 5.699 MB / 0.795 GB Notification: Performance of Templates: time 0.001964/0.2708, allocations: 321 kB / 1.023 GB, free: 5.387 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 -s gbode -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