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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.001346/0.001346, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.335/1.335, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.15/2.15, allocations: 390.2 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 68.75 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2732, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003219/0.2765, allocations: 1.603 MB / 0.9518 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003983/0.2805, allocations: 3.264 MB / 0.955 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.2806, allocations: 0 / 0.955 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.133e-05/0.2807, allocations: 7.875 kB / 0.955 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.913e-05/0.2808, allocations: 19.84 kB / 0.955 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005545/0.2814, allocations: 115.5 kB / 0.9552 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.2815, allocations: 75.72 kB / 0.9552 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2816, allocations: 20.16 kB / 0.9553 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.2818, allocations: 35.92 kB / 0.9553 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2819, allocations: 51.75 kB / 0.9553 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.2819, allocations: 4 kB / 0.9553 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.2823, allocations: 91.86 kB / 0.9554 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.2823, allocations: 19.97 kB / 0.9554 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.2823, allocations: 31.8 kB / 0.9555 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.2826, allocations: 127.9 kB / 0.9556 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2826, allocations: 4 kB / 0.9556 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2826, allocations: 0 / 0.9556 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2827, allocations: 0 / 0.9556 GB, free: 3.391 MB / 0.7325 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.0005982/0.2833, allocations: 384.4 kB / 0.956 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2833, allocations: 12.03 kB / 0.956 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.2834, allocations: 8.844 kB / 0.956 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2835, allocations: 180.2 kB / 0.9562 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2835, allocations: 4.125 kB / 0.9562 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.2835, allocations: 4 kB / 0.9562 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.2838, allocations: 81.59 kB / 0.9562 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2838, allocations: 4 kB / 0.9562 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2838, allocations: 0 / 0.9562 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2838, allocations: 3.938 kB / 0.9563 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.284, allocations: 75.94 kB / 0.9563 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.2845, allocations: 320.8 kB / 0.9566 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.2848, allocations: 90.55 kB / 0.9567 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.2849, allocations: 48.97 kB / 0.9568 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008315/0.2857, allocations: 0.7565 MB / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.2858, allocations: 34.56 kB / 0.9575 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.2858, allocations: 0 / 0.9575 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004047/0.2862, allocations: 133.6 kB / 0.9577 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.2863, allocations: 63.48 kB / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.2864, allocations: 121.8 kB / 0.9578 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2864, allocations: 29.69 kB / 0.9579 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.2865, allocations: 95.98 kB / 0.958 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.2865, allocations: 31.55 kB / 0.958 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.2865, allocations: 21.72 kB / 0.958 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2867, allocations: 318.8 kB / 0.9583 GB, free: 284 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.2868, allocations: 27.98 kB / 0.9583 GB, free: 256 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.2869, allocations: 49.69 kB / 0.9584 GB, free: 200 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.287, allocations: 81.62 kB / 0.9585 GB, free: 112 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2871, allocations: 0 / 0.9585 GB, free: 112 kB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002292/0.2873, allocations: 101.7 kB / 0.9586 GB, free: 4 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.2873, allocations: 8.203 kB / 0.9586 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2873, allocations: 7.969 kB / 0.9586 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2874, allocations: 0 / 0.9586 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2875, allocations: 27.92 kB / 0.9586 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2875, allocations: 400 / 0.9586 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/0.2876, allocations: 7.906 kB / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2876, allocations: 4 kB / 0.9586 GB, free: 15.95 MB / 0.7481 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 8.27e-05/0.2877, allocations: 123.8 kB / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.2877, allocations: 3.906 kB / 0.9587 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.2881, allocations: 137.9 kB / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2881, allocations: 0 / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2881, allocations: 0 / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2881, allocations: 4 kB / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.2883, allocations: 181.6 kB / 0.959 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2883, allocations: 4.188 kB / 0.9591 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.2884, allocations: 19.98 kB / 0.9591 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2884, allocations: 3.938 kB / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2884, allocations: 7.938 kB / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2884, allocations: 0 / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2884, allocations: 0 / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.2887, allocations: 211.3 kB / 0.9593 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.2888, allocations: 84.95 kB / 0.9594 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.2888, allocations: 11.92 kB / 0.9594 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/0.2889, allocations: 11.94 kB / 0.9594 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.289, allocations: 7.984 kB / 0.9594 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.289, allocations: 4 kB / 0.9594 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.2891, allocations: 91.7 kB / 0.9595 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2891, allocations: 0 / 0.9595 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000262/0.2893, allocations: 20 kB / 0.9595 GB, free: 14.94 MB / 0.7481 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.000214/0.2895, allocations: 119.2 kB / 0.9596 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.2898, allocations: 83.89 kB / 0.9597 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2898, allocations: 0 / 0.9597 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.607e-05/0.2899, allocations: 35.98 kB / 0.9597 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.2902, allocations: 4.328 kB / 0.9597 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.2908, allocations: 247.6 kB / 0.96 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.291, allocations: 0.6885 MB / 0.9606 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.2911, allocations: 11.44 kB / 0.9607 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.2911, allocations: 0 / 0.9607 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of Templates: time 0.002924/0.294, allocations: 1.257 MB / 0.9619 GB, free: 12.44 MB / 0.7481 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches