Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.001159, allocations: 177.1 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 223.2 MB / 0.7948 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009863/0.0009863, allocations: 101.4 kB / 0.9346 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004085, allocations: 13.03 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3492, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.596, allocations: 372.4 MB / 1.587 GB, free: 22.73 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/1.597, allocations: 89.08 kB / 1.587 GB, free: 22.68 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02656/1.623, allocations: 13.01 MB / 1.599 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.755e-06/1.623, allocations: 0 / 1.599 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.526e-06/1.623, allocations: 0 / 1.599 GB, free: 12.33 MB / 0.9167 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.0005497/1.624, allocations: 389.3 kB / 1.6 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/1.624, allocations: 12.03 kB / 1.6 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/1.624, allocations: 11.86 kB / 1.6 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/1.624, allocations: 174.7 kB / 1.6 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/1.624, allocations: 7.938 kB / 1.6 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/1.624, allocations: 4 kB / 1.6 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/1.624, allocations: 87.27 kB / 1.6 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.624, allocations: 0 / 1.6 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/1.624, allocations: 3.375 kB / 1.6 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.624, allocations: 0 / 1.6 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/1.625, allocations: 86.47 kB / 1.6 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/1.625, allocations: 328.6 kB / 1.6 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/1.625, allocations: 89.55 kB / 1.601 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006678/1.626, allocations: 0.7571 MB / 1.601 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/1.626, allocations: 38.55 kB / 1.601 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/1.626, allocations: 0 / 1.601 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.000402/1.627, allocations: 142.8 kB / 1.601 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/1.627, allocations: 51.41 kB / 1.601 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/1.627, allocations: 119.6 kB / 1.602 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/1.627, allocations: 25.7 kB / 1.602 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/1.627, allocations: 91.58 kB / 1.602 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/1.627, allocations: 35.06 kB / 1.602 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/1.627, allocations: 3.375 kB / 1.602 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/1.627, allocations: 318.5 kB / 1.602 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.49e-05/1.627, allocations: 30.59 kB / 1.602 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.928e-05/1.627, allocations: 48.77 kB / 1.602 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.129e-05/1.627, allocations: 34.55 kB / 1.602 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.627, allocations: 0 / 1.602 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002443/1.627, allocations: 130.5 kB / 1.602 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.628, allocations: 4.109 kB / 1.602 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.628, allocations: 3.938 kB / 1.602 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.628, allocations: 4 kB / 1.602 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/1.628, allocations: 19.98 kB / 1.602 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.628, allocations: 0 / 1.602 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/1.628, allocations: 12.02 kB / 1.602 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/1.628, allocations: 7.875 kB / 1.602 GB, free: 9.191 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/1.628, allocations: 117.5 kB / 1.602 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/1.628, allocations: 11.86 kB / 1.602 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/1.628, allocations: 135.4 kB / 1.603 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/1.628, allocations: 0 / 1.603 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.628, allocations: 0 / 1.603 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/1.628, allocations: 4 kB / 1.603 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/1.628, allocations: 188.4 kB / 1.603 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.628, allocations: 4 kB / 1.603 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/1.629, allocations: 15.98 kB / 1.603 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.629, allocations: 4 kB / 1.603 GB, free: 8.695 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/1.629, allocations: 11.94 kB / 1.603 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.629, allocations: 0 / 1.603 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.629, allocations: 7.922 kB / 1.603 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/1.629, allocations: 205.4 kB / 1.603 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/1.629, allocations: 89.05 kB / 1.603 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/1.629, allocations: 3.812 kB / 1.603 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.519e-05/1.629, allocations: 11.94 kB / 1.603 GB, free: 8.363 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/1.629, allocations: 4 kB / 1.603 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/1.629, allocations: 4 kB / 1.603 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.458e-05/1.629, allocations: 94.7 kB / 1.603 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/1.629, allocations: 0 / 1.603 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002779/1.629, allocations: 23.73 kB / 1.603 GB, free: 8.246 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002952/1.63, allocations: 138.8 kB / 1.603 GB, free: 8.105 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002377/1.63, allocations: 94.5 kB / 1.603 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.63, allocations: 0 / 1.603 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-05/1.63, allocations: 42.92 kB / 1.603 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/1.63, allocations: 7.875 kB / 1.603 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/1.631, allocations: 246.7 kB / 1.604 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/1.631, allocations: 0.6926 MB / 1.604 GB, free: 7.02 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.394e-05/1.631, allocations: 12.12 kB / 1.604 GB, free: 7.004 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/1.631, allocations: 11.44 kB / 1.604 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/1.631, allocations: 0 / 1.604 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of Templates: time 0.004043/1.635, allocations: 1.19 MB / 1.606 GB, free: 5.82 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches