Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001925/0.001925, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002219/0.002219, allocations: 200.5 kB / 16.14 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.687/1.687, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.848/2.848, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.91 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6867, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002997/0.6897, allocations: 1.664 MB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003867/0.6936, allocations: 3.241 MB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.6937, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.6938, allocations: 7.922 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.601e-05/0.6938, allocations: 11.88 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.6943, allocations: 103.6 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.646e-05/0.6944, allocations: 71.72 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.701e-05/0.6944, allocations: 16.19 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.6946, allocations: 39.83 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.6947, allocations: 35.84 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.6947, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.6949, allocations: 99.78 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.695, allocations: 15.91 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.695, allocations: 27.86 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.6953, allocations: 121.7 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6953, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.31e-07/0.6953, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.6953, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 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.0006031/0.6959, allocations: 393.4 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.6959, allocations: 8.031 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.696, allocations: 8.844 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.6961, allocations: 176.2 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.6961, allocations: 8.375 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.6962, allocations: 8.375 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.6964, allocations: 81.58 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6964, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.6964, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6964, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.6966, allocations: 75.94 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.6971, allocations: 336.6 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.6974, allocations: 90.53 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.6975, allocations: 40.84 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000857/0.6983, allocations: 0.7568 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.6984, allocations: 38.48 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.6984, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004097/0.6988, allocations: 137.6 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.6989, allocations: 59.34 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.699, allocations: 121.7 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.699, allocations: 29.7 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.6991, allocations: 92.12 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.6991, allocations: 27.56 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.6991, allocations: 21.7 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6993, allocations: 322.8 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.994e-05/0.6994, allocations: 35.91 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.145e-05/0.6995, allocations: 37.7 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.6997, allocations: 73.69 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6997, allocations: 0 / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002552/0.6999, allocations: 121.5 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.7, allocations: 5.406 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7, allocations: 4.391 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.7, allocations: 7.922 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.7001, allocations: 19.98 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7002, allocations: 0 / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.7002, allocations: 7.984 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.7003, allocations: 0 / 1.025 GB, free: 9.844 MB / 0.7794 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.596e-05/0.7004, allocations: 129.8 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.7004, allocations: 8.016 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.7007, allocations: 125.9 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.7007, allocations: 3.938 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7007, allocations: 0 / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7007, allocations: 0 / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.7009, allocations: 189.6 kB / 1.025 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.701, allocations: 192 / 1.025 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.7011, allocations: 27.92 kB / 1.025 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.7011, allocations: 3.938 kB / 1.025 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.7011, allocations: 3.984 kB / 1.025 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.7011, allocations: 3.938 kB / 1.025 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7011, allocations: 0 / 1.025 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.7014, allocations: 203.4 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.7015, allocations: 89.02 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.7015, allocations: 0 / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.7016, allocations: 11.92 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.7016, allocations: 4 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.7016, allocations: 0 / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.7017, allocations: 99.27 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7017, allocations: 0 / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000256/0.702, allocations: 20 kB / 1.026 GB, free: 8.84 MB / 0.7794 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.0002104/0.7022, allocations: 127.6 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.7024, allocations: 71.95 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7025, allocations: 0 / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.7026, allocations: 43.91 kB / 1.026 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.7029, allocations: 12.06 kB / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.7033, allocations: 239.5 kB / 1.026 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.7036, allocations: 0.6888 MB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.399e-05/0.7037, allocations: 7.984 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.7037, allocations: 7.438 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.7037, allocations: 0 / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of Templates: time 0.003597/0.7073, allocations: 0.9493 MB / 1.028 GB, free: 6.645 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches