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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001374/0.001374, allocations: 99.58 kB / 16.02 MB, free: 76 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.001661/0.001661, allocations: 181.9 kB / 16.92 MB, free: 6.918 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.462/1.462, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.893/2.893, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 12.53 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3294, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002119/0.3315, allocations: 1.319 MB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004431/0.336, allocations: 3.21 MB / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.3361, allocations: 0 / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.3361, allocations: 0 / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.3362, allocations: 11.86 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.3368, allocations: 111.6 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3369, allocations: 75.7 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.337, allocations: 12.17 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3371, allocations: 31.86 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.3373, allocations: 43.81 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3374, allocations: 8 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/0.3377, allocations: 91.8 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.3377, allocations: 11.92 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.3378, allocations: 53.55 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.3379, allocations: 88.08 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.338, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.338, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.338, allocations: 0 / 1.064 GB, free: 15.89 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.000542/0.3385, allocations: 384.8 kB / 1.065 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3386, allocations: 11.97 kB / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.3386, allocations: 12.84 kB / 1.065 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.3387, allocations: 176.2 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3388, allocations: 384 / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.3388, allocations: 8.375 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.339, allocations: 89.58 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3391, allocations: 0 / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3391, allocations: 0 / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.3391, allocations: 4 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.3393, allocations: 79.94 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.3398, allocations: 336.6 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.3401, allocations: 94.55 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3402, allocations: 56.77 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007945/0.341, allocations: 0.741 MB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.341, allocations: 30.84 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.341, allocations: 3.938 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004263/0.3415, allocations: 157.5 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3415, allocations: 51.41 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3416, allocations: 117.8 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3416, allocations: 25.7 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.3417, allocations: 95.97 kB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.3417, allocations: 27.66 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.3418, allocations: 21.7 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3419, allocations: 314.8 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-05/0.342, allocations: 35.97 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.74e-05/0.3421, allocations: 49.64 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.3423, allocations: 85.69 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3423, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002577/0.3426, allocations: 129.5 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3426, allocations: 4 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3426, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3426, allocations: 3.938 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.3428, allocations: 23.98 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3428, allocations: 4 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-05/0.3429, allocations: 12 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3429, allocations: 7.938 kB / 1.067 GB, free: 12.4 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 0.0001022/0.343, allocations: 123.8 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.3431, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.3434, allocations: 134.6 kB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3434, allocations: 11.88 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3434, allocations: 0 / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3434, allocations: 3.984 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.3436, allocations: 189.5 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3437, allocations: 0 / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3438, allocations: 19.98 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3438, allocations: 0 / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.3438, allocations: 11.98 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3438, allocations: 3.938 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3438, allocations: 3.938 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.3441, allocations: 207.4 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.3442, allocations: 85.05 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3442, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3443, allocations: 23.92 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3443, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3444, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.744e-05/0.3444, allocations: 95.27 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3444, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002709/0.3447, allocations: 20 kB / 1.068 GB, free: 11.38 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.0002338/0.3449, allocations: 119.2 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.3452, allocations: 87.88 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3452, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3453, allocations: 55.84 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.3457, allocations: 12.06 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.3461, allocations: 270 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.3464, allocations: 0.6926 MB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.3465, allocations: 15.44 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3465, allocations: 4 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.003215/0.3497, allocations: 1.236 MB / 1.071 GB, free: 8.836 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/jenkins1/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