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.004808/0.004808, allocations: 101.9 kB / 15.73 MB, free: 6.008 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.001169/0.001169, allocations: 190.9 kB / 16.67 MB, free: 5.949 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.778/2.778, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001462, allocations: 67.91 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.337, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003356/0.3404, allocations: 1.605 MB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004263/0.3447, allocations: 3.268 MB / 1.213 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.3448, allocations: 0 / 1.213 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.3449, allocations: 3.938 kB / 1.213 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.657e-05/0.345, allocations: 15.84 kB / 1.213 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.3456, allocations: 123.5 kB / 1.213 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3457, allocations: 79.7 kB / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3459, allocations: 16.17 kB / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.346, allocations: 35.86 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.3461, allocations: 35.84 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3461, allocations: 7.984 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.3465, allocations: 107.8 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.3465, allocations: 15.92 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.3466, allocations: 27.86 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.3469, allocations: 127.6 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3469, allocations: 0 / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.674e-06/0.3469, allocations: 0 / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3469, allocations: 0 / 1.213 GB, free: 4.129 MB / 0.9669 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.000694/0.3476, allocations: 391.2 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3476, allocations: 12.62 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.3477, allocations: 8.844 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.3479, allocations: 184.1 kB / 1.214 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3479, allocations: 384 / 1.214 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.3479, allocations: 8.375 kB / 1.214 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.3482, allocations: 77.59 kB / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3482, allocations: 0 / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3482, allocations: 0 / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3482, allocations: 4 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.3484, allocations: 75.94 kB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.349, allocations: 328.6 kB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.3493, allocations: 94.53 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3494, allocations: 40.84 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009124/0.3503, allocations: 0.7567 MB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3504, allocations: 34.55 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.3504, allocations: 11.94 kB / 1.215 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004153/0.3508, allocations: 129.5 kB / 1.215 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3509, allocations: 59.41 kB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.351, allocations: 113.8 kB / 1.215 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.351, allocations: 33.7 kB / 1.215 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.3511, allocations: 95.97 kB / 1.215 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.3511, allocations: 23.66 kB / 1.215 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.3512, allocations: 29.7 kB / 1.216 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3513, allocations: 314.8 kB / 1.216 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.3514, allocations: 32 kB / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.986e-05/0.3515, allocations: 49.69 kB / 1.216 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.3517, allocations: 77.69 kB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3517, allocations: 0 / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002342/0.3519, allocations: 117.5 kB / 1.216 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3519, allocations: 4 kB / 1.216 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.352, allocations: 0 / 1.216 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.352, allocations: 3.938 kB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.3521, allocations: 19.98 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3521, allocations: 0 / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.3522, allocations: 12.02 kB / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3522, allocations: 4 kB / 1.216 GB, free: 0.6797 MB / 0.9669 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.363e-05/0.3523, allocations: 117.9 kB / 1.216 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.3523, allocations: 15.84 kB / 1.216 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.3526, allocations: 118.4 kB / 1.216 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3526, allocations: 7.938 kB / 1.216 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3527, allocations: 4 kB / 1.216 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3527, allocations: 192 / 1.216 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3529, allocations: 193.5 kB / 1.217 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3529, allocations: 3.938 kB / 1.217 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.353, allocations: 19.92 kB / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.353, allocations: 0 / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.353, allocations: 3.984 kB / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.353, allocations: 7.938 kB / 1.217 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.353, allocations: 0 / 1.217 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3533, allocations: 203.6 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.3534, allocations: 85.05 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3534, allocations: 4 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3535, allocations: 11.92 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.3536, allocations: 0 / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3536, allocations: 4 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.442e-05/0.3537, allocations: 95.27 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3537, allocations: 4 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003813/0.3541, allocations: 16 kB / 1.217 GB, free: 15.68 MB / 0.9825 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.0002815/0.3544, allocations: 127.2 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.3546, allocations: 75.95 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3547, allocations: 0 / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.41e-05/0.3548, allocations: 47.97 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.3552, allocations: 11.2 kB / 1.217 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.3558, allocations: 213.8 kB / 1.217 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.3562, allocations: 0.6883 MB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.336e-05/0.3563, allocations: 11.98 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.3564, allocations: 11.44 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3564, allocations: 0 / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of Templates: time 0.003724/0.3601, allocations: 1.031 MB / 1.219 GB, free: 13.43 MB / 0.9825 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