Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 104.2 kB / 16.27 MB, free: 5.961 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.001254/0.001254, allocations: 188 kB / 17.19 MB, free: 5.594 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.299/1.299, 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 11.0.1-master/package.mo): time 2.554/2.554, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 69.62 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3501, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001761/0.3519, allocations: 0.5132 MB / 1.065 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001236/0.352, allocations: 19.91 kB / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.3521, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.3521, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.3522, allocations: 11.92 kB / 1.065 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.629e-06/0.3523, allocations: 0 / 1.065 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.832e-05/0.3523, allocations: 4 kB / 1.065 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.3524, allocations: 4 kB / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.3524, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.3525, allocations: 11.88 kB / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3525, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-06/0.3525, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.3525, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.3525, allocations: 7.922 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 4.002e-05/0.3526, allocations: 4 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.3526, allocations: 7.984 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3526, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3526, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003099/0.3529, allocations: 317.5 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.353, allocations: 8.031 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.353, allocations: 4.875 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.3531, allocations: 164.4 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3531, allocations: 4.375 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-06/0.3531, allocations: 384 / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.3532, allocations: 47.98 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3532, allocations: 192 / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3533, allocations: 7.922 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3533, allocations: 0 / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.343e-05/0.3533, allocations: 7.938 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.3535, allocations: 154.5 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.419e-05/0.3535, allocations: 41.16 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.3536, allocations: 17.84 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3536, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3536, allocations: 34.56 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3536, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001293/0.3537, allocations: 49.56 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3538, allocations: 77.36 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.3539, allocations: 97.86 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.3539, allocations: 25.7 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.3539, allocations: 84.14 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.354, allocations: 12.11 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.354, allocations: 9.719 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3541, allocations: 318.8 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.3541, allocations: 0 / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.3542, allocations: 21.78 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.3542, allocations: 13.72 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3542, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.899e-05/0.3543, allocations: 49.62 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3543, allocations: 8 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3543, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3543, allocations: 4.125 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.3544, allocations: 7.938 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3544, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.3544, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3544, allocations: 3.984 kB / 1.066 GB, free: 12.63 MB / 0.8419 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 6.847e-05/0.3545, allocations: 109.8 kB / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.3545, allocations: 7.938 kB / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.3547, allocations: 56.59 kB / 1.066 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3547, allocations: 4 kB / 1.066 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3547, allocations: 0 / 1.066 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3547, allocations: 0 / 1.066 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.943e-05/0.3548, allocations: 149.7 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3548, allocations: 4 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.3548, allocations: 0 / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3548, allocations: 4 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3548, allocations: 3.938 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3548, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3548, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.377e-05/0.3549, allocations: 77.98 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.355, allocations: 77.11 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.355, allocations: 3.938 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.532e-05/0.355, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.355, allocations: 8 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.3551, allocations: 32 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.3551, allocations: 79.28 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3551, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001955/0.3553, allocations: 4 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.000108/0.3554, allocations: 95.77 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.355e-05/0.3555, allocations: 11.94 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3555, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.3555, allocations: 12.22 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.3557, allocations: 6.031 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/0.3559, allocations: 115.6 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.3561, allocations: 0.6729 MB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.3562, allocations: 7.438 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3562, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.001914/0.3581, allocations: 376.1 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches