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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00146/0.00146, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 200 kB / 16.79 MB, free: 6.828 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.398/1.398, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 71.47 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3198, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003305/0.3232, allocations: 1.662 MB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003887/0.3271, allocations: 3.237 MB / 1.058 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.3272, allocations: 4 kB / 1.058 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.68e-05/0.3273, allocations: 7.938 kB / 1.058 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.3274, allocations: 7.922 kB / 1.058 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.328, allocations: 103.6 kB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3281, allocations: 79.7 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.3282, allocations: 12.17 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.3283, allocations: 43.83 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.3284, allocations: 31.84 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3284, allocations: 4 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.3287, allocations: 99.78 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.3288, allocations: 19.91 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.3288, allocations: 23.86 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.329, allocations: 80.11 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.329, allocations: 0 / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.329, allocations: 7.938 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3291, allocations: 0 / 1.058 GB, free: 2.852 MB / 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.0006101/0.3297, allocations: 387.2 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3297, allocations: 11.97 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.3298, allocations: 8.844 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3299, allocations: 176.2 kB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3299, allocations: 8.375 kB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.3299, allocations: 8.375 kB / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.3302, allocations: 85.58 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.3302, allocations: 0 / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3302, allocations: 7.875 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3302, allocations: 0 / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.3305, allocations: 75.94 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.331, allocations: 328.7 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.3312, allocations: 86.73 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3314, allocations: 48.77 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008209/0.3322, allocations: 0.7565 MB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.3322, allocations: 34.56 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.3322, allocations: 0 / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000408/0.3326, allocations: 133.5 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3327, allocations: 59.44 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.3328, allocations: 121.8 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3328, allocations: 25.7 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.3329, allocations: 92.08 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.3329, allocations: 27.55 kB / 1.06 GB, free: 88 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.333, allocations: 25.72 kB / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3331, allocations: 314.8 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.3332, allocations: 31.98 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.554e-05/0.3333, allocations: 45.69 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.3335, allocations: 85.61 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3335, allocations: 0 / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002384/0.3337, allocations: 113.6 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3338, allocations: 4 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3338, allocations: 0 / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3338, allocations: 7.938 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.334, allocations: 20.03 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.334, allocations: 7.938 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.3341, allocations: 7.984 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3341, allocations: 0 / 1.061 GB, free: 15.4 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 8.705e-05/0.3342, allocations: 117.9 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.3342, allocations: 7.906 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.3345, allocations: 126.5 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3346, allocations: 3.938 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3346, allocations: 0 / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3346, allocations: 3.984 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.3348, allocations: 185.6 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3348, allocations: 4 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.3349, allocations: 15.98 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3349, allocations: 4 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3349, allocations: 4 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.335, allocations: 3.938 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.335, allocations: 0 / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.3352, allocations: 207.5 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.3353, allocations: 92.95 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3353, allocations: 3.938 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3354, allocations: 11.94 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.3355, allocations: 11.98 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3355, allocations: 0 / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.3356, allocations: 95.7 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3356, allocations: 0 / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002603/0.3358, allocations: 24 kB / 1.062 GB, free: 14.39 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.0002327/0.3361, allocations: 119.2 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.3363, allocations: 79.83 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3363, allocations: 4 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.377e-05/0.3364, allocations: 35.98 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.3367, allocations: 11.98 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.3372, allocations: 257.4 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.3375, allocations: 0.6926 MB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.3375, allocations: 15.44 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3375, allocations: 0 / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of Templates: time 0.00305/0.3406, allocations: 1.245 MB / 1.064 GB, free: 11.88 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/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