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.001893/0.001892, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002167/0.002168, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.509/1.509, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.715/2.715, allocations: 437 MB / 0.7101 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 68.12 kB / 0.8688 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7012/0.7032, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003119/0.7064, allocations: 1.667 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003984/0.7104, allocations: 3.225 MB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.7104, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.7105, allocations: 3.984 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.884e-05/0.7106, allocations: 15.86 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.7111, allocations: 99.66 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.7112, allocations: 87.7 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.7113, allocations: 20.16 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.7114, allocations: 39.86 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.7115, allocations: 39.83 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.7116, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.7118, allocations: 99.78 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.7119, allocations: 15.92 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.7119, allocations: 39.84 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.7122, allocations: 117.7 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.7122, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7122, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.7122, allocations: 0 / 1.022 GB, free: 13.31 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.0006121/0.7128, allocations: 387.2 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.7129, allocations: 11.97 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.7129, allocations: 12.78 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.7131, allocations: 180.2 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.7131, allocations: 8.297 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.7132, allocations: 8.375 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.7134, allocations: 77.59 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.7134, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.7134, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.7134, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.7136, allocations: 75.88 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.7142, allocations: 328.7 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.7144, allocations: 94.53 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.7145, allocations: 40.84 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008737/0.7154, allocations: 0.7645 MB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.7155, allocations: 34.56 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.7155, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004064/0.7159, allocations: 137.6 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.7159, allocations: 51.41 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.716, allocations: 121.8 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.7161, allocations: 25.7 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.7161, allocations: 92.03 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.7162, allocations: 31.55 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/0.7162, allocations: 25.8 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7164, allocations: 322.8 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/0.7165, allocations: 31.97 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.984e-05/0.7166, allocations: 41.7 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.7168, allocations: 73.69 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7168, allocations: 4 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002418/0.717, allocations: 109.6 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.7171, allocations: 4 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.7171, allocations: 0 / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.7171, allocations: 7.938 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.7173, allocations: 19.98 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.7173, allocations: 0 / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.7174, allocations: 19.89 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.7174, allocations: 7.969 kB / 1.025 GB, free: 9.852 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.477e-05/0.7175, allocations: 118 kB / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.7175, allocations: 7.906 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.7178, allocations: 117.9 kB / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.7178, allocations: 7.938 kB / 1.025 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.7179, allocations: 0 / 1.025 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7179, allocations: 7.938 kB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.7181, allocations: 189.6 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7181, allocations: 0 / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.7182, allocations: 23.91 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.7182, allocations: 0 / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.7182, allocations: 7.984 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.7183, allocations: 3.938 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7183, allocations: 0 / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.7185, allocations: 207.9 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.7186, allocations: 85.02 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.7186, allocations: 0 / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.7187, allocations: 11.92 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.7188, allocations: 8 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.7188, allocations: 0 / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.219e-05/0.7189, allocations: 91.27 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/0.7189, allocations: 0 / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002578/0.7191, allocations: 28 kB / 1.026 GB, free: 8.855 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.0002384/0.7194, allocations: 127.6 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.7196, allocations: 75.89 kB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7196, allocations: 0 / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.7198, allocations: 44.03 kB / 1.026 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.7201, allocations: 12 kB / 1.026 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.7206, allocations: 233.7 kB / 1.027 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.7209, allocations: 0.6885 MB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.418e-05/0.721, allocations: 11.92 kB / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.721, allocations: 11.44 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.721, allocations: 3.938 kB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of Templates: time 0.00374/0.7248, allocations: 0.9765 MB / 1.028 GB, free: 6.629 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