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.001436/0.001437, allocations: 109.9 kB / 15.99 MB, free: 6.359 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.001512/0.001513, allocations: 199 kB / 16.91 MB, free: 6.191 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.436/1.436, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.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.434/2.434, allocations: 437 MB / 0.7107 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001298, allocations: 72.83 kB / 0.8694 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3155, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003264/0.3188, allocations: 1.66 MB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004058/0.3229, allocations: 3.229 MB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.323, allocations: 0 / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.385e-05/0.3231, allocations: 3.938 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.208e-05/0.3232, allocations: 3.938 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.3237, allocations: 115.6 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3239, allocations: 79.72 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.324, allocations: 12.17 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3241, allocations: 35.84 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3242, allocations: 35.84 kB / 1.023 GB, free: 5.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3242, allocations: 12 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.3246, allocations: 111.8 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.3246, allocations: 15.92 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.3246, allocations: 31.86 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3249, allocations: 84.08 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3249, allocations: 0 / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3249, allocations: 3.938 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3249, allocations: 0 / 1.023 GB, free: 5.555 MB / 0.795 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.0006084/0.3255, allocations: 393.1 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3256, allocations: 12.92 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.3256, allocations: 4.844 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.3258, allocations: 176.2 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3258, allocations: 8.312 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3258, allocations: 4.375 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.3261, allocations: 85.53 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3261, allocations: 0 / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3261, allocations: 0 / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3261, allocations: 4 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.3263, allocations: 75.94 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.3268, allocations: 320.7 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.3271, allocations: 102.5 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.3272, allocations: 44.84 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008448/0.328, allocations: 0.7604 MB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3281, allocations: 34.56 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.3281, allocations: 0 / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0003855/0.3285, allocations: 137.9 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.3285, allocations: 51.41 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3286, allocations: 121.8 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3286, allocations: 29.7 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.3287, allocations: 104 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.3287, allocations: 27.56 kB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.3288, allocations: 21.7 kB / 1.025 GB, free: 2.75 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3289, allocations: 322.8 kB / 1.025 GB, free: 2.426 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.329, allocations: 23.98 kB / 1.026 GB, free: 2.402 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.3291, allocations: 41.7 kB / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.3293, allocations: 85.69 kB / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3293, allocations: 0 / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002253/0.3295, allocations: 109.6 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3296, allocations: 4 kB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3296, allocations: 8 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3296, allocations: 7.922 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.3297, allocations: 28.06 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3298, allocations: 3.938 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.3298, allocations: 4 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.3299, allocations: 0 / 1.026 GB, free: 2.098 MB / 0.795 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 9.675e-05/0.33, allocations: 116.4 kB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.33, allocations: 7.906 kB / 1.026 GB, free: 1.969 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.3303, allocations: 137.9 kB / 1.026 GB, free: 1.828 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3303, allocations: 3.938 kB / 1.026 GB, free: 1.824 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3303, allocations: 0 / 1.026 GB, free: 1.824 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3303, allocations: 0 / 1.026 GB, free: 1.824 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.3305, allocations: 189.6 kB / 1.026 GB, free: 1.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3305, allocations: 0 / 1.026 GB, free: 1.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.3307, allocations: 19.98 kB / 1.026 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3307, allocations: 0 / 1.026 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3307, allocations: 0 / 1.026 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3307, allocations: 3.938 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3307, allocations: 4 kB / 1.026 GB, free: 1.562 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.331, allocations: 207.3 kB / 1.026 GB, free: 1.344 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.331, allocations: 84.95 kB / 1.027 GB, free: 1.242 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.3311, allocations: 4 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.3312, allocations: 11.92 kB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.3312, allocations: 4 kB / 1.027 GB, free: 1.223 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3312, allocations: 7.984 kB / 1.027 GB, free: 1.215 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.3313, allocations: 91.28 kB / 1.027 GB, free: 1.125 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3313, allocations: 0 / 1.027 GB, free: 1.125 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000267/0.3315, allocations: 23.98 kB / 1.027 GB, free: 1.102 MB / 0.795 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.0002075/0.3318, allocations: 111.2 kB / 1.027 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.332, allocations: 87.83 kB / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.332, allocations: 4 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.776e-05/0.3321, allocations: 39.97 kB / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.3324, allocations: 5.828 kB / 1.027 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.3329, allocations: 272.1 kB / 1.027 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.3332, allocations: 0.6885 MB / 1.028 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.3333, allocations: 15.44 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3333, allocations: 0 / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of Templates: time 0.003112/0.3364, allocations: 1.265 MB / 1.029 GB, free: 14.57 MB / 0.8106 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=480 -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