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.269/2.269, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001397/0.001397, allocations: 168.9 kB / 492.3 MB, free: 0.6055 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.663/1.663, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001266/0.001267, allocations: 95.97 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.263e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3326, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.372/1.704, allocations: 372.4 MB / 1.576 GB, free: 9.148 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.705, allocations: 86.44 kB / 1.576 GB, free: 9.102 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02972/1.734, allocations: 12.95 MB / 1.589 GB, free: 14.8 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.723e-06/1.734, allocations: 0 / 1.589 GB, free: 14.8 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.747e-06/1.734, allocations: 4 kB / 1.589 GB, free: 14.8 MB / 1.01 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.0005139/1.735, allocations: 388.5 kB / 1.589 GB, free: 14.38 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.735, allocations: 8.031 kB / 1.589 GB, free: 14.38 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/1.735, allocations: 7.906 kB / 1.589 GB, free: 14.37 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/1.735, allocations: 175 kB / 1.589 GB, free: 14.16 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/1.735, allocations: 1.422 kB / 1.589 GB, free: 14.16 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/1.735, allocations: 6.812 kB / 1.589 GB, free: 14.15 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/1.735, allocations: 68.92 kB / 1.589 GB, free: 14.09 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.735, allocations: 0 / 1.589 GB, free: 14.09 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/1.735, allocations: 2.469 kB / 1.589 GB, free: 14.09 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/1.735, allocations: 7.938 kB / 1.589 GB, free: 14.08 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/1.736, allocations: 62.66 kB / 1.589 GB, free: 14.04 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/1.736, allocations: 323.1 kB / 1.59 GB, free: 13.7 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/1.736, allocations: 90.94 kB / 1.59 GB, free: 13.63 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/1.736, allocations: 31.42 kB / 1.59 GB, free: 13.61 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008887/1.737, allocations: 0.7655 MB / 1.591 GB, free: 12.75 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/1.737, allocations: 30.56 kB / 1.591 GB, free: 12.71 MB / 1.01 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/1.737, allocations: 0 / 1.591 GB, free: 12.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=8): time 0.0002267/1.738, allocations: 83.22 kB / 1.591 GB, free: 12.64 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/1.738, allocations: 55.41 kB / 1.591 GB, free: 12.58 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.013e-05/1.738, allocations: 111.9 kB / 1.591 GB, free: 12.47 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/1.738, allocations: 25.7 kB / 1.591 GB, free: 12.44 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/1.738, allocations: 93.86 kB / 1.591 GB, free: 12.35 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/1.738, allocations: 26.95 kB / 1.591 GB, free: 12.32 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/1.738, allocations: 96 / 1.591 GB, free: 12.32 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.738, allocations: 322.1 kB / 1.591 GB, free: 12 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/1.738, allocations: 18.12 kB / 1.591 GB, free: 11.99 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.276e-05/1.738, allocations: 35.22 kB / 1.591 GB, free: 11.96 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/1.738, allocations: 29.3 kB / 1.591 GB, free: 11.94 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.738, allocations: 0 / 1.591 GB, free: 11.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000161/1.738, allocations: 97.16 kB / 1.592 GB, free: 11.86 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/1.738, allocations: 8.891 kB / 1.592 GB, free: 11.85 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.738, allocations: 3.938 kB / 1.592 GB, free: 11.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.738, allocations: 0 / 1.592 GB, free: 11.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/1.739, allocations: 23.97 kB / 1.592 GB, free: 11.82 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/1.739, allocations: 4 kB / 1.592 GB, free: 11.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.481e-05/1.739, allocations: 15.28 kB / 1.592 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/1.739, allocations: 4 kB / 1.592 GB, free: 11.8 MB / 1.01 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 () * 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 8.075e-05/1.739, allocations: 105.1 kB / 1.592 GB, free: 11.7 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/1.739, allocations: 11.86 kB / 1.592 GB, free: 11.68 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/1.739, allocations: 108.8 kB / 1.592 GB, free: 11.59 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.739, allocations: 0 / 1.592 GB, free: 11.59 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.739, allocations: 12 kB / 1.592 GB, free: 11.58 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.739, allocations: 3.984 kB / 1.592 GB, free: 11.58 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/1.739, allocations: 194 kB / 1.592 GB, free: 11.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.739, allocations: 0 / 1.592 GB, free: 11.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/1.739, allocations: 15.98 kB / 1.592 GB, free: 11.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.739, allocations: 4 kB / 1.592 GB, free: 11.34 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/1.739, allocations: 3.953 kB / 1.592 GB, free: 11.33 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.739, allocations: 240 / 1.592 GB, free: 11.33 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.739, allocations: 0 / 1.592 GB, free: 11.33 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/1.74, allocations: 195 kB / 1.592 GB, free: 11.14 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/1.74, allocations: 81.11 kB / 1.592 GB, free: 11.05 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/1.74, allocations: 0 / 1.592 GB, free: 11.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/1.74, allocations: 15.5 kB / 1.592 GB, free: 11.04 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/1.74, allocations: 4 kB / 1.592 GB, free: 11.03 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/1.74, allocations: 3.984 kB / 1.592 GB, free: 11.03 MB / 1.01 GB Notification: Performance of sorting global known variables: time 5.627e-05/1.74, allocations: 93.41 kB / 1.592 GB, free: 10.94 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.61e-07/1.74, allocations: 4 kB / 1.592 GB, free: 10.94 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002397/1.74, allocations: 23.88 kB / 1.592 GB, free: 10.92 MB / 1.01 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 () * 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.0002751/1.741, allocations: 129.1 kB / 1.593 GB, free: 10.78 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001528/1.741, allocations: 70.23 kB / 1.593 GB, free: 10.73 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.741, allocations: 0 / 1.593 GB, free: 10.73 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/1.741, allocations: 29.44 kB / 1.593 GB, free: 10.71 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/1.741, allocations: 4 kB / 1.593 GB, free: 10.71 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/1.741, allocations: 110.1 kB / 1.593 GB, free: 10.59 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/1.742, allocations: 0.6966 MB / 1.593 GB, free: 9.871 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 7.33e-05/1.742, allocations: 16.09 kB / 1.593 GB, free: 9.852 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/1.742, allocations: 11.44 kB / 1.593 GB, free: 9.84 MB / 1.01 GB Notification: Performance of SimCode: time 2.4e-07/1.742, allocations: 0 / 1.593 GB, free: 9.84 MB / 1.01 GB Notification: Performance of Templates: time 0.004065/1.746, allocations: 1.248 MB / 1.595 GB, free: 8.609 MB / 1.01 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