Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_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.00131/0.00131, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001267/0.001267, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 59.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8237/0.8252, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001991/0.8272, allocations: 0.5307 MB / 1.209 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002217/0.8275, allocations: 47.8 kB / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.401e-05/0.8275, allocations: 3.938 kB / 1.209 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.8276, allocations: 0 / 1.209 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.8278, allocations: 3.938 kB / 1.209 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.108e-05/0.8278, allocations: 15.94 kB / 1.209 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.656e-05/0.8279, allocations: 11.92 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.694e-05/0.828, allocations: 4 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.828, allocations: 0 / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.8281, allocations: 15.97 kB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.8281, allocations: 3.938 kB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.8282, allocations: 4 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.8282, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.8283, allocations: 7.938 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.83e-05/0.8283, allocations: 7.984 kB / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8284, allocations: 0 / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8284, allocations: 4 kB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.8284, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 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.0004927/0.8289, allocations: 331.5 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.8289, allocations: 8.031 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.829, allocations: 4.922 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.8292, allocations: 180.1 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.8292, allocations: 384 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.8292, allocations: 384 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.377e-05/0.8293, allocations: 50.17 kB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8293, allocations: 192 / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.8294, allocations: 7.875 kB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.8294, allocations: 0 / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.119e-05/0.8294, allocations: 4 kB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.8296, allocations: 153.7 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.288e-05/0.8296, allocations: 22.56 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.8297, allocations: 4.859 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.8297, allocations: 7.938 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.8297, allocations: 34.62 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.8297, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.8299, allocations: 41.62 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.8299, allocations: 51.41 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.83, allocations: 117.8 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.8301, allocations: 25.7 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.8301, allocations: 84.27 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.8301, allocations: 7.906 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.8302, allocations: 13.72 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8303, allocations: 314.8 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.8303, allocations: 3.984 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.8304, allocations: 21.59 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.397e-05/0.8304, allocations: 29.77 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8304, allocations: 0 / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.018e-05/0.8305, allocations: 49.62 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.8305, allocations: 10.03 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8305, allocations: 3.938 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.8305, allocations: 0 / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.8306, allocations: 4.25 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8306, allocations: 0 / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.8307, allocations: 4 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.8307, allocations: 8.062 kB / 1.211 GB, free: 11.21 MB / 0.9356 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.778e-05/0.8308, allocations: 109.8 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.8308, allocations: 0 / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.8309, allocations: 57.09 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.8309, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8309, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.8309, allocations: 4 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.831, allocations: 153.7 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8311, allocations: 3.938 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.8311, allocations: 12.02 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8311, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.8311, allocations: 3.938 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8311, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8311, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.8313, allocations: 80.97 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.8313, allocations: 81.09 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.8314, allocations: 8.031 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.433e-05/0.8314, allocations: 8.031 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.8314, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.8314, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.776e-05/0.8315, allocations: 87.27 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8315, allocations: 0 / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001844/0.8317, allocations: 8 kB / 1.211 GB, free: 10.49 MB / 0.9356 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.0001194/0.8318, allocations: 91.25 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.68e-05/0.8319, allocations: 19.98 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8319, allocations: 0 / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.528e-05/0.8319, allocations: 7.938 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.8321, allocations: 4 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.8324, allocations: 151.1 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.8326, allocations: 0.6768 MB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.8327, allocations: 11.44 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of SimCode: time 8.71e-07/0.8327, allocations: 4.125 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of Templates: time 0.00201/0.8347, allocations: 0.5114 MB / 1.213 GB, free: 8.957 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches