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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 115.8 kB / 16.42 MB, free: 6.5 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.002103/0.002103, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.479/1.479, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.853/2.853, allocations: 469.4 MB / 0.7428 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 71.84 kB / 1.066 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8244/0.8259, allocations: 159.1 MB / 1.221 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002792/0.8287, allocations: 1.598 MB / 1.222 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00378/0.8325, allocations: 3.261 MB / 1.226 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.8326, allocations: 0 / 1.226 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.8326, allocations: 7.922 kB / 1.226 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.049e-05/0.8327, allocations: 11.88 kB / 1.226 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.8332, allocations: 127.5 kB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.8333, allocations: 79.72 kB / 1.226 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.8334, allocations: 8.172 kB / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.8335, allocations: 39.84 kB / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.8336, allocations: 35.84 kB / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.8337, allocations: 12 kB / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.834, allocations: 111.8 kB / 1.226 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.834, allocations: 11.92 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.834, allocations: 31.86 kB / 1.226 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.8343, allocations: 117.5 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8343, allocations: 0 / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8343, allocations: 0 / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.8343, allocations: 0 / 1.226 GB, free: 13.07 MB / 0.9512 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.000572/0.8349, allocations: 395.2 kB / 1.227 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.8349, allocations: 8.625 kB / 1.227 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.835, allocations: 8.844 kB / 1.227 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.8351, allocations: 180.2 kB / 1.227 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.8351, allocations: 4.375 kB / 1.227 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.8352, allocations: 8.375 kB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.8354, allocations: 77.59 kB / 1.227 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.8354, allocations: 0 / 1.227 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.8354, allocations: 8 kB / 1.227 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.8354, allocations: 0 / 1.227 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.8356, allocations: 75.94 kB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.8361, allocations: 336.5 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.8364, allocations: 98.52 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.8365, allocations: 44.84 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007987/0.8373, allocations: 0.7527 MB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.8373, allocations: 34.56 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.8373, allocations: 288 / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0003873/0.8377, allocations: 141.4 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.8378, allocations: 55.41 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/0.8379, allocations: 117.8 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.8379, allocations: 33.64 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.838, allocations: 100 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.838, allocations: 19.66 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.838, allocations: 25.7 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8382, allocations: 314.8 kB / 1.229 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.885e-05/0.8383, allocations: 31.97 kB / 1.229 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.8384, allocations: 45.64 kB / 1.229 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.8385, allocations: 77.69 kB / 1.229 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8386, allocations: 0 / 1.229 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002336/0.8388, allocations: 117.5 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.8388, allocations: 5.875 kB / 1.229 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8388, allocations: 0 / 1.229 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.8388, allocations: 4 kB / 1.229 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.839, allocations: 23.95 kB / 1.229 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.839, allocations: 4 kB / 1.229 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.8391, allocations: 11.89 kB / 1.229 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.8391, allocations: 112 / 1.229 GB, free: 9.605 MB / 0.9512 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.209e-05/0.8392, allocations: 126.2 kB / 1.229 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.8392, allocations: 4 kB / 1.229 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.8395, allocations: 126.3 kB / 1.23 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8396, allocations: 3.938 kB / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8396, allocations: 0 / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.8396, allocations: 81.02 kB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.8396, allocations: 4 kB / 1.23 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.8397, allocations: 7.984 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.8398, allocations: 4 kB / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003026/0.8401, allocations: 197.1 kB / 1.23 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003022/0.8404, allocations: 282.6 kB / 1.23 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.805e-05/0.8405, allocations: 35.92 kB / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.8406, allocations: 99.27 kB / 1.23 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of Backend: time 3.21e-07/0.8406, allocations: 0 / 1.23 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.8411, allocations: 161.4 kB / 1.23 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005907/0.8417, allocations: 0.6395 MB / 1.231 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of Templates: time 0.004164/0.8459, allocations: 1.523 MB / 1.232 GB, free: 6.238 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches