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.00167/0.00167, allocations: 113.8 kB / 16.42 MB, free: 6.469 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.001969/0.001969, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.08 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.448/2.448, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.91 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7276/0.7289, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002797/0.7317, allocations: 1.602 MB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003594/0.7354, allocations: 3.26 MB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.56e-05/0.7354, allocations: 4 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.856e-05/0.7355, allocations: 7.922 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.728e-05/0.7356, allocations: 7.875 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.7361, allocations: 123.5 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.7362, allocations: 75.72 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.7363, allocations: 24.16 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.641e-05/0.7364, allocations: 35.86 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.125e-05/0.7365, allocations: 35.84 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.7365, allocations: 4 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.7368, allocations: 107.8 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.7368, allocations: 19.92 kB / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.7369, allocations: 27.86 kB / 1.173 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.7371, allocations: 127.5 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7371, allocations: 3.938 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7371, allocations: 0 / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7371, allocations: 0 / 1.173 GB, free: 14.33 MB / 0.9044 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.0005337/0.7377, allocations: 381.1 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.7377, allocations: 8.625 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.7378, allocations: 8.844 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.7379, allocations: 184.1 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.7379, allocations: 8.375 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.7379, allocations: 8.359 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.7382, allocations: 77.59 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.7382, allocations: 0 / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.7382, allocations: 4 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7382, allocations: 0 / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.7384, allocations: 79.88 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.7389, allocations: 328.6 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.7391, allocations: 98.47 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.7392, allocations: 41.03 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007721/0.74, allocations: 0.7644 MB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.74, allocations: 30.56 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.7401, allocations: 0 / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.000391/0.7405, allocations: 141.5 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.7405, allocations: 51.41 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.7406, allocations: 117.9 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.7406, allocations: 29.64 kB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.7407, allocations: 96.03 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.7407, allocations: 23.66 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.7407, allocations: 21.7 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.7408, allocations: 318.8 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.83e-05/0.7409, allocations: 35.97 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.319e-05/0.741, allocations: 37.7 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.7412, allocations: 77.67 kB / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7412, allocations: 8 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002391/0.7415, allocations: 113.5 kB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.7415, allocations: 8 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7415, allocations: 0 / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7415, allocations: 0 / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.7417, allocations: 31.86 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.7417, allocations: 400 / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.7418, allocations: 7.984 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.7418, allocations: 4 kB / 1.176 GB, free: 10.89 MB / 0.9044 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.327e-05/0.7419, allocations: 117.8 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.7419, allocations: 7.906 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.7422, allocations: 130.1 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.7422, allocations: 3.938 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.7422, allocations: 0 / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.7423, allocations: 85.02 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.7423, allocations: 3.938 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.7424, allocations: 15.92 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.7425, allocations: 4 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002968/0.7428, allocations: 188.9 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002675/0.7431, allocations: 278.6 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.562e-05/0.7432, allocations: 43.92 kB / 1.177 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.405e-05/0.7432, allocations: 91.27 kB / 1.177 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of Backend: time 2.9e-07/0.7432, allocations: 0 / 1.177 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005464/0.7438, allocations: 168.7 kB / 1.177 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005581/0.7443, allocations: 0.6433 MB / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of Templates: time 0.004024/0.7484, allocations: 1.511 MB / 1.179 GB, free: 7.512 MB / 0.9044 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