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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.378/2.378, allocations: 390.5 MB / 398 MB, free: 10.91 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.001332/0.001332, allocations: 172.9 kB / 491.2 MB, free: 1.566 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.729/1.729, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009944/0.0009944, allocations: 102 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.29e-05/2.282e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4029, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.737, allocations: 372.5 MB / 1.576 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/1.738, allocations: 87.06 kB / 1.576 GB, free: 9.453 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03133/1.769, allocations: 12.89 MB / 1.589 GB, free: 15.32 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.663e-06/1.769, allocations: 0 / 1.589 GB, free: 15.32 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.769, allocations: 0 / 1.589 GB, free: 15.32 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.0005821/1.77, allocations: 386.2 kB / 1.589 GB, free: 14.91 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/1.77, allocations: 12.02 kB / 1.589 GB, free: 14.9 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/1.77, allocations: 11.86 kB / 1.589 GB, free: 14.89 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/1.77, allocations: 167.1 kB / 1.589 GB, free: 14.68 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/1.77, allocations: 4 kB / 1.589 GB, free: 14.68 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/1.77, allocations: 0 / 1.589 GB, free: 14.68 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001621/1.77, allocations: 54.39 kB / 1.589 GB, free: 14.64 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/1.77, allocations: 72.41 kB / 1.589 GB, free: 14.57 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.771, allocations: 4 kB / 1.589 GB, free: 14.57 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/1.771, allocations: 0 / 1.589 GB, free: 14.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.771, allocations: 0 / 1.589 GB, free: 14.57 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/1.771, allocations: 301.2 kB / 1.59 GB, free: 14.27 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/1.771, allocations: 79.58 kB / 1.59 GB, free: 14.21 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/1.771, allocations: 35.41 kB / 1.59 GB, free: 14.18 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009749/1.772, allocations: 0.7624 MB / 1.591 GB, free: 13.32 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/1.772, allocations: 37.38 kB / 1.591 GB, free: 13.28 MB / 1.01 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/1.772, allocations: 0 / 1.591 GB, free: 13.28 MB / 1.01 GB Notification: Performance of matching and sorting (n=8): time 0.0004375/1.773, allocations: 107.1 kB / 1.591 GB, free: 13.19 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/1.773, allocations: 59.67 kB / 1.591 GB, free: 13.12 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/1.773, allocations: 107.6 kB / 1.591 GB, free: 13.01 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/1.773, allocations: 29.7 kB / 1.591 GB, free: 12.98 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/1.773, allocations: 91.84 kB / 1.591 GB, free: 12.89 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/1.773, allocations: 22.91 kB / 1.591 GB, free: 12.87 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/1.773, allocations: 0 / 1.591 GB, free: 12.87 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.773, allocations: 322.1 kB / 1.591 GB, free: 12.55 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/1.773, allocations: 15.31 kB / 1.591 GB, free: 12.54 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/1.773, allocations: 33.33 kB / 1.591 GB, free: 12.51 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/1.774, allocations: 54.84 kB / 1.591 GB, free: 12.47 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.774, allocations: 0 / 1.591 GB, free: 12.47 MB / 1.01 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002935/1.774, allocations: 119.4 kB / 1.592 GB, free: 12.36 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.774, allocations: 9.672 kB / 1.592 GB, free: 12.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.774, allocations: 0 / 1.592 GB, free: 12.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.774, allocations: 4 kB / 1.592 GB, free: 12.35 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/1.774, allocations: 20.02 kB / 1.592 GB, free: 12.33 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/1.774, allocations: 7.984 kB / 1.592 GB, free: 12.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/1.774, allocations: 7.938 kB / 1.592 GB, free: 12.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/1.774, allocations: 4 kB / 1.592 GB, free: 12.31 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 9.337e-05/1.774, allocations: 103.7 kB / 1.592 GB, free: 12.21 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/1.774, allocations: 7.906 kB / 1.592 GB, free: 12.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/1.775, allocations: 133.7 kB / 1.592 GB, free: 12.09 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/1.775, allocations: 0 / 1.592 GB, free: 12.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.775, allocations: 0 / 1.592 GB, free: 12.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.775, allocations: 0 / 1.592 GB, free: 12.09 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/1.775, allocations: 170.4 kB / 1.592 GB, free: 11.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.775, allocations: 192 / 1.592 GB, free: 11.89 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/1.775, allocations: 19.98 kB / 1.592 GB, free: 11.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.775, allocations: 3.938 kB / 1.592 GB, free: 11.87 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/1.775, allocations: 0 / 1.592 GB, free: 11.87 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/1.775, allocations: 8 kB / 1.592 GB, free: 11.86 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.775, allocations: 3.953 kB / 1.592 GB, free: 11.86 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/1.776, allocations: 204.6 kB / 1.592 GB, free: 11.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/1.776, allocations: 85 kB / 1.592 GB, free: 11.56 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/1.776, allocations: 0 / 1.592 GB, free: 11.56 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/1.776, allocations: 8 kB / 1.592 GB, free: 11.55 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/1.776, allocations: 15.62 kB / 1.592 GB, free: 11.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.776, allocations: 4 kB / 1.592 GB, free: 11.54 MB / 1.01 GB Notification: Performance of sorting global known variables: time 6.026e-05/1.776, allocations: 89.59 kB / 1.592 GB, free: 11.45 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/1.776, allocations: 0 / 1.592 GB, free: 11.45 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000275/1.776, allocations: 27.3 kB / 1.592 GB, free: 11.43 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.0003157/1.777, allocations: 127.2 kB / 1.593 GB, free: 11.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000159/1.777, allocations: 56 kB / 1.593 GB, free: 11.26 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.777, allocations: 0 / 1.593 GB, free: 11.26 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-05/1.777, allocations: 30.11 kB / 1.593 GB, free: 11.24 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/1.777, allocations: 9.016 kB / 1.593 GB, free: 11.23 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/1.777, allocations: 102.9 kB / 1.593 GB, free: 11.12 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/1.778, allocations: 0.6962 MB / 1.593 GB, free: 10.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 7.731e-05/1.778, allocations: 4.172 kB / 1.593 GB, free: 10.39 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/1.778, allocations: 19.42 kB / 1.593 GB, free: 10.37 MB / 1.01 GB Notification: Performance of SimCode: time 2.4e-07/1.778, allocations: 0 / 1.593 GB, free: 10.37 MB / 1.01 GB Notification: Performance of Templates: time 0.004254/1.782, allocations: 1.034 MB / 1.594 GB, free: 9.352 MB / 1.01 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","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches