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.001209/0.001209, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001324/0.001324, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.966/2.966, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 68.61 kB / 0.9116 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3633, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.004209/0.3675, allocations: 1.668 MB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005492/0.3731, allocations: 3.229 MB / 1.073 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.3732, allocations: 4 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.754e-05/0.3733, allocations: 0 / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.3735, allocations: 15.84 kB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007819/0.3742, allocations: 103.7 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.3745, allocations: 83.72 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.3746, allocations: 12.17 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.3748, allocations: 35.86 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.375, allocations: 43.81 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.3751, allocations: 8 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.3755, allocations: 95.8 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.3755, allocations: 15.91 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.986e-05/0.3756, allocations: 31.86 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.3759, allocations: 131.9 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.376, allocations: 0 / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.435e-06/0.376, allocations: 0 / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.376, allocations: 0 / 1.073 GB, free: 5.266 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.0008141/0.3768, allocations: 391.1 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.3769, allocations: 12.03 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.377, allocations: 8.781 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3772, allocations: 180.2 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3772, allocations: 4.375 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.3772, allocations: 8.375 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.3775, allocations: 77.59 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3775, allocations: 0 / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3776, allocations: 4 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3776, allocations: 0 / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.3778, allocations: 79.88 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.3785, allocations: 332.6 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.3788, allocations: 90.55 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3789, allocations: 40.84 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.38, allocations: 0.7606 MB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.3801, allocations: 30.56 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 2.364e-06/0.3801, allocations: 0 / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005069/0.3806, allocations: 149.5 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.3807, allocations: 51.41 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3808, allocations: 121.8 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3808, allocations: 25.7 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.3809, allocations: 96.08 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.381, allocations: 31.58 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.381, allocations: 17.72 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3812, allocations: 326.8 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-05/0.3813, allocations: 27.98 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.992e-05/0.3814, allocations: 41.69 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.3816, allocations: 73.69 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3816, allocations: 0 / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002376/0.3818, allocations: 117.8 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3819, allocations: 8 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3819, allocations: 80 / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3819, allocations: 3.938 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.382, allocations: 19.98 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3821, allocations: 7.922 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.21e-05/0.3822, allocations: 8.297 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3822, allocations: 7.969 kB / 1.076 GB, free: 1.809 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 9.737e-05/0.3823, allocations: 121.8 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.3823, allocations: 7.906 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.3826, allocations: 118 kB / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3826, allocations: 3.938 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3826, allocations: 0 / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3827, allocations: 4 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3829, allocations: 193.5 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3829, allocations: 0 / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.383, allocations: 23.92 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.383, allocations: 0 / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.383, allocations: 0 / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.383, allocations: 3.938 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.383, allocations: 0 / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.3833, allocations: 207.5 kB / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.3834, allocations: 84.95 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.3834, allocations: 3.984 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3835, allocations: 11.94 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.3835, allocations: 11.98 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3836, allocations: 0 / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.3836, allocations: 99.2 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3836, allocations: 0 / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002635/0.3839, allocations: 16 kB / 1.077 GB, free: 0.8125 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.000227/0.3841, allocations: 125.1 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.3844, allocations: 75.89 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3844, allocations: 0 / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.575e-05/0.3845, allocations: 43.92 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3848, allocations: 12.06 kB / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.3853, allocations: 241.8 kB / 1.077 GB, free: 300 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.3856, allocations: 0.6924 MB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.674e-05/0.3857, allocations: 7.938 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.3858, allocations: 11.44 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3858, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.003502/0.3893, allocations: 0.974 MB / 1.079 GB, free: 14.59 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