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.0009832/0.0009834, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007811/0.007812, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.626/2.626, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005699/0.00057, allocations: 12 kB / 0.8728 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.6781, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001884/0.6801, allocations: 1.321 MB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003886/0.684, allocations: 3.194 MB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.697e-05/0.6841, allocations: 3.938 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.6841, allocations: 3.984 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.6842, allocations: 7.875 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.6847, allocations: 107.6 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.6848, allocations: 75.72 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.6849, allocations: 12.17 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.685, allocations: 35.84 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.6851, allocations: 31.84 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.6851, allocations: 4 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.6855, allocations: 103.8 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.6855, allocations: 11.92 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.6856, allocations: 53.56 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.6858, allocations: 113.7 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6858, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6858, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.6858, allocations: 0 / 1.028 GB, free: 10.77 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.000532/0.6864, allocations: 379.4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.6864, allocations: 15.97 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.6865, allocations: 8.844 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.6866, allocations: 184.2 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.6866, allocations: 4.375 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.6866, allocations: 4.312 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.6869, allocations: 85.59 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6869, allocations: 0 / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.6869, allocations: 4 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.6869, allocations: 4 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.6871, allocations: 83.88 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.6877, allocations: 344.5 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.6879, allocations: 94.53 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.688, allocations: 44.84 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007713/0.6888, allocations: 0.7491 MB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.6889, allocations: 38.56 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.6889, allocations: 0 / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004089/0.6893, allocations: 145.5 kB / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.6894, allocations: 59.39 kB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.6895, allocations: 117.8 kB / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.6895, allocations: 25.7 kB / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.6895, allocations: 92.05 kB / 1.03 GB, free: 8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.6896, allocations: 27.64 kB / 1.03 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.6896, allocations: 13.72 kB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6897, allocations: 322.8 kB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.6898, allocations: 35.92 kB / 1.031 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.893e-05/0.6899, allocations: 49.69 kB / 1.031 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.6901, allocations: 89.98 kB / 1.031 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6901, allocations: 0 / 1.031 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000256/0.6904, allocations: 125.5 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6904, allocations: 4 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6904, allocations: 0 / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.6905, allocations: 11.97 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.6906, allocations: 19.98 kB / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6906, allocations: 0 / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.043e-05/0.6907, allocations: 12 kB / 1.031 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.6907, allocations: 0 / 1.031 GB, free: 7.27 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 8.553e-05/0.6908, allocations: 126.2 kB / 1.031 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.6909, allocations: 12.09 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.6912, allocations: 126 kB / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6912, allocations: 7.938 kB / 1.031 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6912, allocations: 0 / 1.031 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6912, allocations: 3.938 kB / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.6914, allocations: 197.5 kB / 1.031 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.6914, allocations: 4 kB / 1.031 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.6916, allocations: 23.92 kB / 1.032 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.6916, allocations: 0 / 1.032 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.6916, allocations: 0 / 1.032 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.6916, allocations: 3.938 kB / 1.032 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6916, allocations: 0 / 1.032 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.6919, allocations: 203.5 kB / 1.032 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.692, allocations: 85.02 kB / 1.032 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.692, allocations: 7.984 kB / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.6921, allocations: 11.94 kB / 1.032 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.6922, allocations: 3.984 kB / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.6922, allocations: 4 kB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.476e-05/0.6922, allocations: 95.27 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6922, allocations: 0 / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002752/0.6925, allocations: 24 kB / 1.032 GB, free: 6.25 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.0002515/0.6928, allocations: 123.1 kB / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.6931, allocations: 91.94 kB / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6931, allocations: 0 / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.6932, allocations: 43.92 kB / 1.032 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.6935, allocations: 5.719 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.694, allocations: 268.1 kB / 1.032 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.6943, allocations: 0.6887 MB / 1.033 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.104e-05/0.6944, allocations: 16.47 kB / 1.033 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.6944, allocations: 15.42 kB / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6944, allocations: 0 / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of Templates: time 0.003448/0.6979, allocations: 0.9359 MB / 1.034 GB, free: 4.02 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=480 -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