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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001656/0.001656, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00217/0.00217, allocations: 197 kB / 16.53 MB, free: 6.664 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.88 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3656, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003053/0.3687, allocations: 1.596 MB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003744/0.3725, allocations: 3.252 MB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.628e-05/0.3726, allocations: 0 / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.3726, allocations: 3.938 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.984e-05/0.3727, allocations: 27.78 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.3732, allocations: 111.5 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.3733, allocations: 83.7 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.3734, allocations: 8.188 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3736, allocations: 47.84 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.517e-05/0.3737, allocations: 39.83 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3737, allocations: 4 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.374, allocations: 103.8 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.374, allocations: 15.92 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.3741, allocations: 35.84 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.3743, allocations: 116 kB / 1.074 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3743, allocations: 0 / 1.074 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3743, allocations: 0 / 1.074 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.647e-06/0.3743, allocations: 0 / 1.074 GB, free: 4.934 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005756/0.3749, allocations: 395.2 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.375, allocations: 8.031 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.375, allocations: 8.844 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3751, allocations: 180.2 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3751, allocations: 384 / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.3752, allocations: 8.375 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3754, allocations: 85.58 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3754, allocations: 0 / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3754, allocations: 0 / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3754, allocations: 4 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.3756, allocations: 79.86 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.3761, allocations: 324.6 kB / 1.075 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.3764, allocations: 98.55 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3765, allocations: 44.83 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000838/0.3774, allocations: 0.7567 MB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3774, allocations: 30.56 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3774, allocations: 4 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000387/0.3778, allocations: 133.5 kB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3779, allocations: 55.41 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.378, allocations: 121.8 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.378, allocations: 29.7 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.3781, allocations: 91.98 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.3781, allocations: 31.62 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.3781, allocations: 21.72 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3782, allocations: 318.9 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.3783, allocations: 35.86 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3785, allocations: 53.69 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.3786, allocations: 73.69 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3787, allocations: 0 / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002351/0.3789, allocations: 113.8 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3789, allocations: 5.562 kB / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3789, allocations: 4.031 kB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3789, allocations: 3.938 kB / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.3791, allocations: 19.98 kB / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3791, allocations: 4.062 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.267e-05/0.3792, allocations: 7.984 kB / 1.077 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.3792, allocations: 8.109 kB / 1.077 GB, free: 1.473 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 9.201e-05/0.3793, allocations: 123.2 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.3793, allocations: 7.906 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.3796, allocations: 114 kB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3797, allocations: 7.938 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3797, allocations: 0 / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3797, allocations: 3.984 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.3799, allocations: 193.5 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3799, allocations: 0 / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.38, allocations: 19.92 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.38, allocations: 4 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.38, allocations: 0 / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.38, allocations: 7.938 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.38, allocations: 0 / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.3803, allocations: 195.5 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.3804, allocations: 93.12 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.3804, allocations: 0 / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.3805, allocations: 15.88 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.3806, allocations: 3.984 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.3806, allocations: 8 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.3806, allocations: 91.7 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3806, allocations: 0 / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002537/0.3809, allocations: 16 kB / 1.077 GB, free: 496 kB / 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.0002365/0.3811, allocations: 127.7 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.3814, allocations: 75.95 kB / 1.078 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3814, allocations: 3.938 kB / 1.078 GB, free: 280 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.3815, allocations: 39.98 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.3818, allocations: 16.25 kB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.3823, allocations: 219.3 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.3826, allocations: 0.6894 MB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.271e-05/0.3827, allocations: 11.98 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.3827, allocations: 19.42 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3827, allocations: 0 / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of Templates: time 0.003272/0.386, allocations: 1.016 MB / 1.08 GB, free: 14.23 MB / 0.8419 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