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.0009368/0.0009368, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006508/0.006508, allocations: 170 kB / 16.26 MB, free: 6.613 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.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.808/2.808, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004004, allocations: 10.14 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3286, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001649/0.3303, allocations: 1.319 MB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003347/0.3337, allocations: 3.21 MB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.3337, allocations: 0 / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.3338, allocations: 7.938 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.859e-05/0.3338, allocations: 7.922 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.3342, allocations: 103.6 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.156e-05/0.3343, allocations: 83.69 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.913e-05/0.3344, allocations: 12.19 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.621e-05/0.3345, allocations: 31.86 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.249e-05/0.3346, allocations: 39.81 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.3347, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.3349, allocations: 95.8 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.3349, allocations: 15.92 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.335, allocations: 57.55 kB / 1.064 GB, free: 460 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.3352, allocations: 115.9 kB / 1.064 GB, free: 344 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3352, allocations: 0 / 1.064 GB, free: 344 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.113e-06/0.3352, allocations: 0 / 1.064 GB, free: 344 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3352, allocations: 3.938 kB / 1.064 GB, free: 340 kB / 0.8106 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.0004775/0.3357, allocations: 379.3 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3357, allocations: 12.03 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.3358, allocations: 8.844 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3359, allocations: 184.1 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3359, allocations: 4.375 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.3359, allocations: 4.375 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.3361, allocations: 85.58 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.3362, allocations: 0 / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3362, allocations: 4 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3362, allocations: 11.98 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.3364, allocations: 79.94 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.3369, allocations: 320.6 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.3371, allocations: 98.66 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.3372, allocations: 56.77 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006927/0.3379, allocations: 0.741 MB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.338, allocations: 38.84 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 2.675e-06/0.338, allocations: 0 / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003877/0.3384, allocations: 149.4 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.3384, allocations: 55.41 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.3385, allocations: 117.8 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.3385, allocations: 25.7 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.3386, allocations: 99.97 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.3386, allocations: 23.64 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.3386, allocations: 21.7 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.3387, allocations: 314.8 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-05/0.3388, allocations: 35.97 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.3389, allocations: 53.64 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.3391, allocations: 89.98 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3391, allocations: 0 / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002378/0.3394, allocations: 121.5 kB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3394, allocations: 4 kB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3394, allocations: 0 / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3394, allocations: 4.156 kB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.3395, allocations: 23.98 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3396, allocations: 7.938 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/0.3396, allocations: 11.89 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.3397, allocations: 4 kB / 1.067 GB, free: 12.84 MB / 0.8262 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 7.706e-05/0.3397, allocations: 113.8 kB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.3398, allocations: 7.938 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.3401, allocations: 130 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3401, allocations: 7.875 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3401, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3401, allocations: 4 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3403, allocations: 189.5 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3403, allocations: 8 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.3404, allocations: 15.98 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3404, allocations: 4 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3405, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3405, allocations: 7.922 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3405, allocations: 4 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3407, allocations: 211.4 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.3408, allocations: 85.05 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.3408, allocations: 4 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.3409, allocations: 7.938 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.341, allocations: 7.984 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.341, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.341, allocations: 99.27 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.341, allocations: 0 / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000259/0.3413, allocations: 24 kB / 1.068 GB, free: 11.82 MB / 0.8262 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.0002103/0.3415, allocations: 115.2 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.3418, allocations: 91.89 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3418, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3419, allocations: 43.92 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.3422, allocations: 15.92 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.3426, allocations: 259.1 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.3429, allocations: 0.6887 MB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.588e-05/0.343, allocations: 12.53 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.343, allocations: 11.44 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.343, allocations: 0 / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of Templates: time 0.003484/0.3465, allocations: 0.9316 MB / 1.07 GB, free: 9.613 MB / 0.8262 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/jenkins/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