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.001025/0.001024, allocations: 99.58 kB / 16.02 MB, free: 76 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.001168/0.001168, allocations: 181 kB / 16.92 MB, free: 6.918 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 443.2 MB / 0.7181 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003835, allocations: 14.56 kB / 0.8801 GB, free: 42.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3312, allocations: 155.2 MB / 1.032 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001866/0.3331, allocations: 1.328 MB / 1.033 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00362/0.3367, allocations: 3.202 MB / 1.036 GB, free: 228 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.3368, allocations: 3.938 kB / 1.036 GB, free: 224 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.3368, allocations: 3.984 kB / 1.036 GB, free: 220 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.3369, allocations: 15.86 kB / 1.036 GB, free: 204 kB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.3373, allocations: 99.64 kB / 1.036 GB, free: 104 kB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.424e-05/0.3374, allocations: 75.72 kB / 1.036 GB, free: 28 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.628e-05/0.3375, allocations: 12.17 kB / 1.036 GB, free: 16 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.3377, allocations: 39.94 kB / 1.036 GB, free: 15.97 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.3378, allocations: 35.73 kB / 1.036 GB, free: 15.94 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.3378, allocations: 4 kB / 1.036 GB, free: 15.94 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.3381, allocations: 91.78 kB / 1.036 GB, free: 15.85 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.3381, allocations: 23.91 kB / 1.036 GB, free: 15.82 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.3382, allocations: 49.56 kB / 1.036 GB, free: 15.77 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.3383, allocations: 80.09 kB / 1.037 GB, free: 15.69 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3383, allocations: 0 / 1.037 GB, free: 15.69 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3383, allocations: 0 / 1.037 GB, free: 15.69 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3383, allocations: 0 / 1.037 GB, free: 15.69 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.0005594/0.3389, allocations: 383.3 kB / 1.037 GB, free: 15.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.339, allocations: 12.03 kB / 1.037 GB, free: 15.26 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.339, allocations: 8.844 kB / 1.037 GB, free: 15.25 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3391, allocations: 180.2 kB / 1.037 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.3392, allocations: 8.375 kB / 1.037 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.3392, allocations: 384 / 1.037 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.3394, allocations: 81.59 kB / 1.037 GB, free: 14.94 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3394, allocations: 0 / 1.037 GB, free: 14.94 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.3394, allocations: 8 kB / 1.037 GB, free: 14.93 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3395, allocations: 4 kB / 1.037 GB, free: 14.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.3397, allocations: 79.94 kB / 1.037 GB, free: 14.85 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.3402, allocations: 332.6 kB / 1.038 GB, free: 14.48 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.3404, allocations: 102.5 kB / 1.038 GB, free: 14.37 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3405, allocations: 44.84 kB / 1.038 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/0.3413, allocations: 0.741 MB / 1.038 GB, free: 13.46 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3413, allocations: 34.84 kB / 1.039 GB, free: 13.42 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3413, allocations: 0 / 1.039 GB, free: 13.42 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004115/0.3417, allocations: 157.4 kB / 1.039 GB, free: 13.26 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3418, allocations: 59.39 kB / 1.039 GB, free: 13.19 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/0.3419, allocations: 125.7 kB / 1.039 GB, free: 13.05 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.3419, allocations: 25.7 kB / 1.039 GB, free: 13.02 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.342, allocations: 92.05 kB / 1.039 GB, free: 12.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.342, allocations: 27.64 kB / 1.039 GB, free: 12.9 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.342, allocations: 13.72 kB / 1.039 GB, free: 12.88 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3422, allocations: 318.8 kB / 1.039 GB, free: 12.56 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.213e-05/0.3423, allocations: 35.98 kB / 1.039 GB, free: 12.53 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.409e-05/0.3424, allocations: 49.62 kB / 1.039 GB, free: 12.47 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3426, allocations: 93.67 kB / 1.039 GB, free: 12.38 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3426, allocations: 0 / 1.039 GB, free: 12.38 MB / 0.795 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002405/0.3428, allocations: 121.5 kB / 1.04 GB, free: 12.25 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3428, allocations: 4 kB / 1.04 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3428, allocations: 0 / 1.04 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3429, allocations: 7.938 kB / 1.04 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.343, allocations: 24.02 kB / 1.04 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.343, allocations: 0 / 1.04 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.3431, allocations: 4.109 kB / 1.04 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3431, allocations: 7.938 kB / 1.04 GB, free: 12.2 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.553e-05/0.3432, allocations: 119.4 kB / 1.04 GB, free: 12.08 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.3433, allocations: 7.906 kB / 1.04 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.3436, allocations: 130 kB / 1.04 GB, free: 11.94 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3436, allocations: 7.938 kB / 1.04 GB, free: 11.93 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3436, allocations: 0 / 1.04 GB, free: 11.93 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3436, allocations: 0 / 1.04 GB, free: 11.93 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.3438, allocations: 193.7 kB / 1.04 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3438, allocations: 7.984 kB / 1.04 GB, free: 11.69 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.3439, allocations: 23.92 kB / 1.04 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3439, allocations: 0 / 1.04 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.344, allocations: 4 kB / 1.04 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.344, allocations: 3.938 kB / 1.04 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.344, allocations: 4 kB / 1.04 GB, free: 11.65 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.3442, allocations: 207.9 kB / 1.04 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.3443, allocations: 88.95 kB / 1.04 GB, free: 11.33 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3443, allocations: 3.984 kB / 1.04 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/0.3444, allocations: 11.94 kB / 1.04 GB, free: 11.31 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.3445, allocations: 7.984 kB / 1.04 GB, free: 11.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.3445, allocations: 4 kB / 1.04 GB, free: 11.3 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.298e-05/0.3445, allocations: 95.27 kB / 1.041 GB, free: 11.21 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3446, allocations: 0 / 1.041 GB, free: 11.21 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002468/0.3448, allocations: 20 kB / 1.041 GB, free: 11.19 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.0002108/0.345, allocations: 115.2 kB / 1.041 GB, free: 11.06 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.3453, allocations: 88.03 kB / 1.041 GB, free: 10.98 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3453, allocations: 0 / 1.041 GB, free: 10.98 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3454, allocations: 56 kB / 1.041 GB, free: 10.92 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3457, allocations: 12 kB / 1.041 GB, free: 10.91 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.3461, allocations: 278 kB / 1.041 GB, free: 10.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.3464, allocations: 0.6887 MB / 1.042 GB, free: 9.887 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.3464, allocations: 19.42 kB / 1.042 GB, free: 9.867 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.3464, allocations: 0 / 1.042 GB, free: 9.867 MB / 0.795 GB Notification: Performance of Templates: time 0.002927/0.3494, allocations: 1.236 MB / 1.043 GB, free: 8.641 MB / 0.795 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