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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00134/0.00134, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001555/0.001555, allocations: 198.3 kB / 16.14 MB, free: 6.574 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.505/1.505, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 68.08 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.342, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002879/0.3449, allocations: 1.668 MB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0037/0.3486, allocations: 3.237 MB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.3487, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.3487, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.311e-05/0.3488, allocations: 19.84 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.3492, allocations: 103.6 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.375e-05/0.3494, allocations: 75.77 kB / 1.073 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.3494, allocations: 12.19 kB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3496, allocations: 39.83 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.572e-05/0.3496, allocations: 27.91 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3497, allocations: 8 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.35, allocations: 103.7 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.35, allocations: 15.91 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.3501, allocations: 31.8 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.3503, allocations: 119.9 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3504, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3504, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3504, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 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.0006141/0.351, allocations: 391.2 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.351, allocations: 12.03 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.3511, allocations: 4.844 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3512, allocations: 172.2 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3513, allocations: 8.375 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3513, allocations: 4.375 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.3515, allocations: 85.52 kB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3516, allocations: 0 / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3516, allocations: 11.94 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.3516, allocations: 0 / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.3518, allocations: 79.88 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.3523, allocations: 320.7 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.3526, allocations: 94.73 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.3527, allocations: 48.77 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008366/0.3535, allocations: 0.7527 MB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.3536, allocations: 34.56 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.3536, allocations: 0 / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000408/0.354, allocations: 141.5 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.354, allocations: 55.44 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3541, allocations: 121.8 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3542, allocations: 25.7 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.3542, allocations: 99.98 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.3543, allocations: 27.64 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.3543, allocations: 17.72 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3544, allocations: 322.8 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.3545, allocations: 27.98 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.604e-05/0.3546, allocations: 45.62 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.3548, allocations: 81.62 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.3548, allocations: 112 / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002331/0.3551, allocations: 113.8 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3551, allocations: 9.562 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3551, allocations: 0 / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3551, allocations: 3.938 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.3553, allocations: 27.95 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3553, allocations: 4.062 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.55e-05/0.3554, allocations: 8 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3554, allocations: 7.984 kB / 1.076 GB, free: 2.008 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.645e-05/0.3555, allocations: 109.8 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.3555, allocations: 7.906 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.3558, allocations: 129.9 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3559, allocations: 3.938 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3559, allocations: 0 / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3559, allocations: 3.984 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.3561, allocations: 185.5 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3561, allocations: 0 / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3562, allocations: 19.98 kB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3562, allocations: 0 / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3562, allocations: 4 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3562, allocations: 11.94 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3562, allocations: 0 / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.3565, allocations: 199.5 kB / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.3565, allocations: 88.94 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3566, allocations: 3.938 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3567, allocations: 7.938 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.3567, allocations: 15.98 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.3567, allocations: 0 / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.3568, allocations: 95.27 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.305e-06/0.3568, allocations: 0 / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002567/0.3571, allocations: 24.12 kB / 1.077 GB, free: 1.012 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.0002023/0.3573, allocations: 113.6 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.3575, allocations: 83.83 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3576, allocations: 0 / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3577, allocations: 39.98 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.358, allocations: 4.75 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.3584, allocations: 239.6 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.3587, allocations: 0.6926 MB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.921e-05/0.3588, allocations: 7.984 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.3588, allocations: 19.42 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.3588, allocations: 0 / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of Templates: time 0.00342/0.3622, allocations: 0.9454 MB / 1.079 GB, free: 14.82 MB / 0.8419 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