Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001364/0.001364, allocations: 191 kB / 16.25 MB, free: 6.629 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.725/2.725, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 69.11 kB / 0.8986 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3422, allocations: 157.4 MB / 1.052 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003314/0.3456, allocations: 1.662 MB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003979/0.3496, allocations: 3.233 MB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.3496, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.816e-05/0.3497, allocations: 11.92 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.905e-05/0.3498, allocations: 3.938 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005769/0.3504, allocations: 111.6 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.3506, allocations: 75.72 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3507, allocations: 20.17 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3508, allocations: 35.91 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.3509, allocations: 39.78 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3509, allocations: 8 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.3513, allocations: 99.83 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.3513, allocations: 19.92 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.3514, allocations: 27.86 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.3516, allocations: 131.9 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3517, allocations: 0 / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3517, allocations: 4 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3517, allocations: 0 / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006244/0.3523, allocations: 387.2 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3524, allocations: 8.625 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.3524, allocations: 8.844 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3526, allocations: 172.2 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3526, allocations: 4.375 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.3526, allocations: 8.359 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.3529, allocations: 89.52 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3529, allocations: 0 / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3529, allocations: 4 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3529, allocations: 7.938 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.3531, allocations: 75.88 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.3537, allocations: 324.7 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.3539, allocations: 94.48 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.354, allocations: 48.83 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008203/0.3548, allocations: 0.7526 MB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3549, allocations: 34.56 kB / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.572e-06/0.3549, allocations: 0 / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004123/0.3553, allocations: 145.7 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.3554, allocations: 59.41 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.3555, allocations: 113.8 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.3555, allocations: 25.7 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.3556, allocations: 92.08 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.3556, allocations: 31.55 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.3556, allocations: 21.7 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3558, allocations: 318.8 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.838e-05/0.3558, allocations: 35.97 kB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-05/0.3559, allocations: 41.7 kB / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.3561, allocations: 85.61 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3562, allocations: 0 / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002457/0.3564, allocations: 109.6 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3564, allocations: 4 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3564, allocations: 0 / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3565, allocations: 3.938 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.3566, allocations: 31.92 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3566, allocations: 0 / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.3567, allocations: 7.984 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3567, allocations: 4 kB / 1.061 GB, free: 15.82 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 (9): * Single equations (assignments): 9 * 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.559e-05/0.3568, allocations: 118 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.3569, allocations: 7.844 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.3572, allocations: 130.1 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3572, allocations: 3.938 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3572, allocations: 4 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3572, allocations: 0 / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3574, allocations: 185.6 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3574, allocations: 0 / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3575, allocations: 19.98 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3575, allocations: 0 / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3576, allocations: 4 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3576, allocations: 7.922 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3576, allocations: 4 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.3579, allocations: 199.4 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.3579, allocations: 88.95 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.3579, allocations: 4 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3581, allocations: 7.938 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.3581, allocations: 7.984 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3581, allocations: 7.984 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.213e-05/0.3582, allocations: 91.27 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3582, allocations: 0 / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002655/0.3585, allocations: 20 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0002205/0.3587, allocations: 119.2 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.359, allocations: 88.42 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.359, allocations: 0 / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.3591, allocations: 40.12 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3594, allocations: 4.156 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.3599, allocations: 237.9 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.3601, allocations: 0.6885 MB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.914e-05/0.3602, allocations: 15.92 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.3602, allocations: 11.44 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3602, allocations: 0 / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.003532/0.3638, allocations: 0.9754 MB / 1.064 GB, free: 12.6 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches