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.001629/0.00163, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002216/0.002216, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.827/2.827, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 67.55 kB / 0.8984 GB, free: 37.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.367, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003884/0.3709, allocations: 1.664 MB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005/0.376, allocations: 3.252 MB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.3761, allocations: 3.938 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.419e-05/0.3762, allocations: 3.938 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.098e-05/0.3763, allocations: 11.92 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.3768, allocations: 107.6 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.377, allocations: 71.78 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.3771, allocations: 12.19 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.3772, allocations: 39.77 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.676e-05/0.3773, allocations: 35.91 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.3773, allocations: 4 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.3777, allocations: 103.8 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.3777, allocations: 11.92 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.3778, allocations: 31.8 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.378, allocations: 119.9 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.378, allocations: 0 / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.71e-07/0.378, allocations: 0 / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3781, allocations: 0 / 1.057 GB, free: 3.355 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.0006061/0.3787, allocations: 387.3 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3787, allocations: 8.031 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.3788, allocations: 8.844 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3789, allocations: 172.2 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.3789, allocations: 12.31 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.3789, allocations: 384 / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.3792, allocations: 81.58 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3792, allocations: 4 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3792, allocations: 8 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3792, allocations: 0 / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.3794, allocations: 75.88 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.38, allocations: 320.8 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.3803, allocations: 98.48 kB / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3804, allocations: 44.83 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009026/0.3813, allocations: 0.7526 MB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3813, allocations: 38.56 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3813, allocations: 0 / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004194/0.3818, allocations: 145.7 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3818, allocations: 51.41 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3819, allocations: 121.8 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3819, allocations: 33.64 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.382, allocations: 88.08 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.382, allocations: 31.55 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.3821, allocations: 29.7 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3822, allocations: 310.8 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-05/0.3823, allocations: 31.97 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.822e-05/0.3824, allocations: 45.7 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.3826, allocations: 81.94 kB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3826, allocations: 0 / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002685/0.3829, allocations: 117.5 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.3829, allocations: 5.672 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3829, allocations: 3.938 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.383, allocations: 11.97 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.3831, allocations: 19.98 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.3831, allocations: 4 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.042e-05/0.3832, allocations: 7.984 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3832, allocations: 0 / 1.06 GB, free: 15.9 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.797e-05/0.3833, allocations: 113.8 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.3834, allocations: 7.906 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.3837, allocations: 129.9 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3837, allocations: 3.938 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3837, allocations: 4 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3837, allocations: 0 / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.384, allocations: 185.6 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.384, allocations: 0 / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3841, allocations: 15.98 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3841, allocations: 192 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3841, allocations: 12 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.3841, allocations: 11.86 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3841, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.3845, allocations: 199.4 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.3845, allocations: 88.95 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.3846, allocations: 0 / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3847, allocations: 11.94 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.3847, allocations: 11.98 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3847, allocations: 0 / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.237e-05/0.3848, allocations: 91.27 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3848, allocations: 0 / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002752/0.3851, allocations: 28 kB / 1.061 GB, free: 14.9 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.0002367/0.3853, allocations: 115.2 kB / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.3856, allocations: 83.88 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3856, allocations: 0 / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.3857, allocations: 43.92 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3861, allocations: 13.02 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.3866, allocations: 219.8 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3869, allocations: 0.6887 MB / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.539e-05/0.3869, allocations: 15.97 kB / 1.062 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.387, allocations: 11.44 kB / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.387, allocations: 0 / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.003551/0.3905, allocations: 0.9505 MB / 1.063 GB, free: 12.72 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