Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_11_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.0009655/0.0009655, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.0079/0.0079, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.482/1.482, allocations: 223.3 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.99/2.99, allocations: 470.6 MB / 0.7441 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003161, allocations: 11.06 kB / 0.9122 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3423, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0007498/0.3431, allocations: 270.8 kB / 1.07 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001701/0.3433, allocations: 39.86 kB / 1.07 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.3434, allocations: 0 / 1.07 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.3434, allocations: 0 / 1.07 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.3436, allocations: 11.94 kB / 1.07 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.372e-05/0.3436, allocations: 8 kB / 1.07 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.989e-05/0.3437, allocations: 11.92 kB / 1.07 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.3438, allocations: 4 kB / 1.07 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.3438, allocations: 0 / 1.07 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.3439, allocations: 19.91 kB / 1.07 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3439, allocations: 3.938 kB / 1.07 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.3439, allocations: 4 kB / 1.07 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.344, allocations: 0 / 1.07 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.344, allocations: 33.64 kB / 1.07 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.797e-05/0.3441, allocations: 11.98 kB / 1.07 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3441, allocations: 0 / 1.07 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3441, allocations: 3.938 kB / 1.07 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.3441, allocations: 0 / 1.07 GB, free: 10.99 MB / 0.8262 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.0005325/0.3447, allocations: 323.6 kB / 1.071 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.3447, allocations: 8.031 kB / 1.071 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.3448, allocations: 8.844 kB / 1.071 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3451, allocations: 172.6 kB / 1.071 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3451, allocations: 384 / 1.071 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3451, allocations: 4.375 kB / 1.071 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.3453, allocations: 38.25 kB / 1.071 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3453, allocations: 192 / 1.071 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3453, allocations: 7.938 kB / 1.071 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3453, allocations: 0 / 1.071 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.3453, allocations: 7.938 kB / 1.071 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.3456, allocations: 157.7 kB / 1.071 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.747e-05/0.3456, allocations: 18.58 kB / 1.071 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.3456, allocations: 16.91 kB / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3457, allocations: 0 / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.3457, allocations: 30.56 kB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3457, allocations: 0 / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001592/0.3459, allocations: 49.47 kB / 1.071 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3459, allocations: 55.41 kB / 1.071 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.346, allocations: 109.8 kB / 1.071 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.3461, allocations: 29.83 kB / 1.071 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.3461, allocations: 84.14 kB / 1.071 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.3461, allocations: 0 / 1.071 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.3462, allocations: 13.7 kB / 1.071 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3463, allocations: 314.8 kB / 1.072 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.3464, allocations: 4 kB / 1.072 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.787e-05/0.3464, allocations: 17.7 kB / 1.072 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.3465, allocations: 29.72 kB / 1.072 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3465, allocations: 0 / 1.072 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.544e-05/0.3465, allocations: 41.69 kB / 1.072 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3466, allocations: 7.938 kB / 1.072 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.3466, allocations: 7.938 kB / 1.072 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3466, allocations: 0 / 1.072 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.3467, allocations: 11.92 kB / 1.072 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3467, allocations: 3.938 kB / 1.072 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.3467, allocations: 7.969 kB / 1.072 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3467, allocations: 0 / 1.072 GB, free: 9.203 MB / 0.8262 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.883e-05/0.3468, allocations: 117.8 kB / 1.072 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-06/0.3468, allocations: 0 / 1.072 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.3469, allocations: 57.14 kB / 1.072 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.347, allocations: 0 / 1.072 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.347, allocations: 0 / 1.072 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.347, allocations: 0 / 1.072 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.3471, allocations: 157.7 kB / 1.072 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3471, allocations: 0 / 1.072 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.3472, allocations: 11.94 kB / 1.072 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3472, allocations: 0 / 1.072 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.3472, allocations: 3.938 kB / 1.072 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3472, allocations: 0 / 1.072 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3472, allocations: 0 / 1.072 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.3474, allocations: 77.09 kB / 1.072 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.3474, allocations: 89.14 kB / 1.072 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3475, allocations: 3.938 kB / 1.072 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.3475, allocations: 4.234 kB / 1.072 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.3475, allocations: 4 kB / 1.072 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.3475, allocations: 4 kB / 1.072 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.941e-05/0.3476, allocations: 87.28 kB / 1.072 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3476, allocations: 0 / 1.072 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001753/0.3478, allocations: 0 / 1.072 GB, free: 8.496 MB / 0.8262 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.0001329/0.3479, allocations: 103.2 kB / 1.072 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.755e-05/0.348, allocations: 15.94 kB / 1.073 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.348, allocations: 4 kB / 1.073 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.348, allocations: 7.984 kB / 1.073 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.3482, allocations: 0 / 1.073 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.3485, allocations: 124.6 kB / 1.073 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.3488, allocations: 0.6811 MB / 1.073 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.793e-05/0.3489, allocations: 4 kB / 1.073 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.3489, allocations: 7.438 kB / 1.073 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of SimCode: time 3.847e-06/0.3489, allocations: 0 / 1.073 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of Templates: time 0.002763/0.3517, allocations: 298.8 kB / 1.074 GB, free: 7.203 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches