Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 182 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009162/0.0009161, allocations: 94.38 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 9.031 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2346, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8856/1.12, allocations: 353.5 MB / 1.245 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.121, allocations: 87.2 kB / 1.245 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02668/1.147, allocations: 12.39 MB / 1.258 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.134e-06/1.147, allocations: 0 / 1.258 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.147, allocations: 0 / 1.258 GB, free: 3.277 MB / 0.7605 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.0004749/1.148, allocations: 388.7 kB / 1.258 GB, free: 2.855 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.148, allocations: 12.03 kB / 1.258 GB, free: 2.844 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/1.148, allocations: 3.906 kB / 1.258 GB, free: 2.84 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/1.148, allocations: 178.9 kB / 1.258 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/1.148, allocations: 7.875 kB / 1.258 GB, free: 2.621 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/1.148, allocations: 4 kB / 1.258 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/1.148, allocations: 91.59 kB / 1.258 GB, free: 2.535 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/1.148, allocations: 4 kB / 1.258 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/1.148, allocations: 0 / 1.258 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.148, allocations: 0 / 1.258 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/1.149, allocations: 85.44 kB / 1.258 GB, free: 2.465 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/1.149, allocations: 324.9 kB / 1.259 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/1.149, allocations: 95.84 kB / 1.259 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/1.15, allocations: 0.7522 MB / 1.259 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/1.15, allocations: 34.56 kB / 1.259 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/1.15, allocations: 0 / 1.259 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.000384/1.15, allocations: 149 kB / 1.26 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/1.15, allocations: 51.41 kB / 1.26 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/1.151, allocations: 112.5 kB / 1.26 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/1.151, allocations: 29.38 kB / 1.26 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/1.151, allocations: 99.5 kB / 1.26 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/1.151, allocations: 31.06 kB / 1.26 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/1.151, allocations: 0 / 1.26 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.151, allocations: 318.4 kB / 1.26 GB, free: 404 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/1.151, allocations: 31.05 kB / 1.26 GB, free: 380 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-05/1.151, allocations: 59.62 kB / 1.26 GB, free: 324 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.986e-05/1.151, allocations: 34.36 kB / 1.26 GB, free: 300 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.151, allocations: 0 / 1.26 GB, free: 300 kB / 0.7605 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002297/1.151, allocations: 123.1 kB / 1.26 GB, free: 188 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.151, allocations: 7.953 kB / 1.26 GB, free: 180 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.151, allocations: 0 / 1.26 GB, free: 180 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/1.151, allocations: 0 / 1.26 GB, free: 180 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/1.151, allocations: 23.48 kB / 1.26 GB, free: 160 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.152, allocations: 4 kB / 1.26 GB, free: 156 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/1.152, allocations: 13.72 kB / 1.26 GB, free: 144 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/1.152, allocations: 4 kB / 1.26 GB, free: 140 kB / 0.7605 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.827e-05/1.152, allocations: 121.6 kB / 1.261 GB, free: 12 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/1.152, allocations: 3.906 kB / 1.261 GB, free: 8 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/1.152, allocations: 138.1 kB / 1.261 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/1.152, allocations: 0 / 1.261 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.152, allocations: 0 / 1.261 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.152, allocations: 0 / 1.261 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/1.152, allocations: 188.1 kB / 1.261 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.152, allocations: 0 / 1.261 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/1.152, allocations: 19.98 kB / 1.261 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.152, allocations: 0 / 1.261 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/1.152, allocations: 8 kB / 1.261 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.152, allocations: 3.953 kB / 1.261 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.152, allocations: 3.938 kB / 1.261 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/1.153, allocations: 208.9 kB / 1.261 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/1.153, allocations: 84.95 kB / 1.261 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/1.153, allocations: 11.98 kB / 1.261 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/1.153, allocations: 11.75 kB / 1.261 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/1.153, allocations: 11.94 kB / 1.261 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/1.153, allocations: 0 / 1.261 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.935e-05/1.153, allocations: 90.58 kB / 1.261 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/1.153, allocations: 0 / 1.261 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002399/1.153, allocations: 27.88 kB / 1.261 GB, free: 15.2 MB / 0.7761 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.0002341/1.153, allocations: 136.9 kB / 1.261 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002435/1.154, allocations: 93.52 kB / 1.262 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.154, allocations: 0 / 1.262 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.7e-05/1.154, allocations: 47 kB / 1.262 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/1.154, allocations: 7.172 kB / 1.262 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/1.154, allocations: 247.2 kB / 1.262 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/1.155, allocations: 0.6926 MB / 1.263 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.929e-05/1.155, allocations: 16.31 kB / 1.263 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/1.155, allocations: 15.42 kB / 1.263 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of SimCode: time 2.41e-07/1.155, allocations: 0 / 1.263 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of Templates: time 0.003485/1.158, allocations: 1.19 MB / 1.264 GB, free: 12.77 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches