Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001775/0.001776, allocations: 104 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 191.2 kB / 17.2 MB, free: 5.609 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.453/1.453, allocations: 222.9 MB / 240.9 MB, free: 4.109 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 437.1 MB / 0.7111 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.91 kB / 0.8699 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6641/0.6661, allocations: 151.6 MB / 1.018 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003168/0.6693, allocations: 1.591 MB / 1.02 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004163/0.6735, allocations: 3.256 MB / 1.023 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.6735, allocations: 4 kB / 1.023 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.6736, allocations: 7.875 kB / 1.023 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.029e-05/0.6737, allocations: 15.86 kB / 1.023 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.6742, allocations: 115.5 kB / 1.023 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.6743, allocations: 83.7 kB / 1.023 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.6744, allocations: 12.19 kB / 1.023 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.6746, allocations: 39.89 kB / 1.023 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.6747, allocations: 39.78 kB / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.6747, allocations: 4 kB / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.675, allocations: 107.8 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.675, allocations: 15.92 kB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.6751, allocations: 27.86 kB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.6754, allocations: 121.6 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6754, allocations: 4 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6754, allocations: 0 / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6754, allocations: 0 / 1.023 GB, free: 13.03 MB / 0.7794 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.0006488/0.676, allocations: 387.2 kB / 1.024 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6761, allocations: 11.97 kB / 1.024 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.6761, allocations: 12.84 kB / 1.024 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.6763, allocations: 172.2 kB / 1.024 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.6763, allocations: 8.375 kB / 1.024 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.6764, allocations: 8.312 kB / 1.024 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.6766, allocations: 81.58 kB / 1.024 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.6766, allocations: 0 / 1.024 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.6766, allocations: 11.94 kB / 1.024 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.6766, allocations: 0 / 1.024 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.6769, allocations: 71.94 kB / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.6774, allocations: 328.7 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.6777, allocations: 90.73 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.6778, allocations: 48.77 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009139/0.6787, allocations: 0.7566 MB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.6787, allocations: 38.56 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.6787, allocations: 0 / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004194/0.6792, allocations: 133.6 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.6792, allocations: 55.44 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.6793, allocations: 121.8 kB / 1.026 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.6794, allocations: 25.7 kB / 1.026 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.6794, allocations: 92.05 kB / 1.026 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.6795, allocations: 27.55 kB / 1.026 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.6795, allocations: 21.72 kB / 1.026 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.6797, allocations: 318.8 kB / 1.026 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.935e-05/0.6798, allocations: 31.98 kB / 1.026 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.986e-05/0.6799, allocations: 45.69 kB / 1.026 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.6801, allocations: 85.92 kB / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6801, allocations: 0 / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002527/0.6804, allocations: 109.6 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6804, allocations: 4 kB / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.6804, allocations: 0 / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.6804, allocations: 7.938 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.6806, allocations: 23.92 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.6806, allocations: 4 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.6807, allocations: 7.906 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.6807, allocations: 3.984 kB / 1.026 GB, free: 9.578 MB / 0.7794 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.0001138/0.6808, allocations: 121.8 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.6808, allocations: 8.094 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.6811, allocations: 125.9 kB / 1.027 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.6812, allocations: 7.922 kB / 1.027 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.6812, allocations: 0 / 1.027 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.6812, allocations: 7.922 kB / 1.027 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.6814, allocations: 185.6 kB / 1.027 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6814, allocations: 4 kB / 1.027 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.6815, allocations: 15.98 kB / 1.027 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.6815, allocations: 4 kB / 1.027 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.6816, allocations: 4 kB / 1.027 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.6816, allocations: 3.938 kB / 1.027 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6816, allocations: 4 kB / 1.027 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.6819, allocations: 199.4 kB / 1.027 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.6819, allocations: 89 kB / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.682, allocations: 3.938 kB / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.6821, allocations: 11.94 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.6821, allocations: 7.984 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.6821, allocations: 0 / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.6822, allocations: 91.7 kB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6822, allocations: 0 / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002564/0.6825, allocations: 28 kB / 1.027 GB, free: 8.574 MB / 0.7794 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.0002561/0.6827, allocations: 119.2 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.683, allocations: 83.88 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.683, allocations: 0 / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.828e-05/0.6831, allocations: 35.98 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.6835, allocations: 16.05 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.684, allocations: 239.5 kB / 1.028 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.6843, allocations: 0.6963 MB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.6844, allocations: 11.44 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of SimCode: time 3.727e-06/0.6844, allocations: 0 / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of Templates: time 0.003296/0.6877, allocations: 1.26 MB / 1.03 GB, free: 6.062 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches