Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_11_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.001356/0.001356, allocations: 107.6 kB / 15.99 MB, free: 6.348 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.001289/0.001289, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.65/2.65, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 65.23 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.354, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001912/0.356, allocations: 0.5995 MB / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001344/0.3561, allocations: 11.98 kB / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.3562, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.3562, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.3564, allocations: 3.938 kB / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.927e-06/0.3564, allocations: 4 kB / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.037e-05/0.3564, allocations: 11.98 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.3565, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.3565, allocations: 7.984 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.883e-05/0.3566, allocations: 3.938 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3566, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.3566, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.3566, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.3566, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 4.08e-05/0.3567, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3567, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3567, allocations: 7.938 kB / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.3567, allocations: 0 / 1.065 GB, free: 14.44 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.0003519/0.3571, allocations: 311.6 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3571, allocations: 8.031 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.3571, allocations: 4.938 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.3573, allocations: 164.4 kB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3573, allocations: 384 / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.3573, allocations: 384 / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.3574, allocations: 47.97 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3575, allocations: 192 / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3575, allocations: 3.938 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3575, allocations: 4 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.3575, allocations: 3.938 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.3577, allocations: 162.5 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.845e-05/0.3578, allocations: 45.19 kB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.3578, allocations: 13.72 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3578, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3579, allocations: 42.56 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3579, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001545/0.358, allocations: 49.78 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.3581, allocations: 81.14 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3582, allocations: 93.86 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3583, allocations: 25.7 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.3583, allocations: 80.14 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.3583, allocations: 16.11 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.3584, allocations: 17.7 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3586, allocations: 310.8 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.3586, allocations: 4.125 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.3586, allocations: 13.72 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.3586, allocations: 21.66 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3586, allocations: 0 / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.931e-05/0.3587, allocations: 49.62 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3587, allocations: 8.125 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3588, allocations: 3.938 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3588, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.3588, allocations: 4 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3589, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.3589, allocations: 4 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.3589, allocations: 0 / 1.066 GB, free: 12.61 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 8.73e-05/0.359, allocations: 109.8 kB / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.359, allocations: 4 kB / 1.066 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.3591, allocations: 60.59 kB / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3591, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3592, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3592, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.3594, allocations: 149.7 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3594, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.3594, allocations: 7.984 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3594, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3594, allocations: 7.875 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3594, allocations: 4.062 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3594, allocations: 4 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.019e-05/0.3595, allocations: 65.94 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.916e-05/0.3596, allocations: 81.09 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.3596, allocations: 7.938 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/0.3596, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.3597, allocations: 4.031 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.3597, allocations: 0 / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.3597, allocations: 79.28 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3597, allocations: 3.938 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001776/0.3599, allocations: 0 / 1.067 GB, free: 11.93 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.0001248/0.36, allocations: 103.2 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.12e-05/0.3601, allocations: 12.09 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3601, allocations: 4.062 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.308e-06/0.3601, allocations: 4 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.3603, allocations: 2.031 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.3605, allocations: 119.6 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.3608, allocations: 0.6729 MB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.3609, allocations: 7.438 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3609, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of Templates: time 0.001694/0.3626, allocations: 376.2 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches