Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001332/0.001332, allocations: 108 kB / 16.41 MB, free: 6.027 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.001202/0.001202, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 0.6655 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8578/0.859, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002843/0.8619, allocations: 1.604 MB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003726/0.8657, allocations: 3.258 MB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.8658, allocations: 0.8438 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.8659, allocations: 9.422 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.041e-05/0.866, allocations: 14.89 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.8665, allocations: 120.9 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.8667, allocations: 78.34 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.8668, allocations: 15.31 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.8669, allocations: 45.58 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.867, allocations: 37 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.867, allocations: 9.766 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.8673, allocations: 94.78 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.8674, allocations: 17.67 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.8674, allocations: 31.66 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.8677, allocations: 131.1 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8677, allocations: 0 / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8677, allocations: 0 / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8677, allocations: 0.7188 kB / 1.094 GB, free: 1.797 MB / 0.8575 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.0005266/0.8682, allocations: 385.4 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.8683, allocations: 9.188 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.8683, allocations: 8.5 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.839e-05/0.8685, allocations: 178 kB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.8685, allocations: 9.656 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.8685, allocations: 3.094 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.8687, allocations: 83.52 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.8687, allocations: 4 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.8688, allocations: 5.234 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.8688, allocations: 1.5 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.869, allocations: 73.22 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.8695, allocations: 318.1 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.8697, allocations: 101.3 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.8698, allocations: 43.31 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007319/0.8706, allocations: 0.7592 MB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.8706, allocations: 35.73 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.8706, allocations: 0.75 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0004563/0.8711, allocations: 137.2 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.8712, allocations: 53.66 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.8713, allocations: 121.4 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.8713, allocations: 26.33 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/0.8714, allocations: 92.62 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.8714, allocations: 30.14 kB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.8715, allocations: 24.89 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8717, allocations: 319.9 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.864e-05/0.8718, allocations: 28.5 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.8719, allocations: 50.67 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.8721, allocations: 81.59 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8721, allocations: 1.391 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000281/0.8724, allocations: 108.1 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.8724, allocations: 13.58 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.8724, allocations: 0.8438 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.8725, allocations: 4.812 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.8726, allocations: 18.75 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.8726, allocations: 1.344 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.8727, allocations: 9.469 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.8727, allocations: 3.984 kB / 1.097 GB, free: 15.04 MB / 0.8731 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.746e-05/0.8728, allocations: 116.8 kB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.8729, allocations: 12.22 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.8732, allocations: 131.3 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.8732, allocations: 0.7188 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8732, allocations: 0.75 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.8732, allocations: 5.141 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.8735, allocations: 186.7 kB / 1.097 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8735, allocations: 0 / 1.097 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.8736, allocations: 17.92 kB / 1.097 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.8736, allocations: 8.703 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.8736, allocations: 5.703 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8736, allocations: 4 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8736, allocations: 0.8438 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.8739, allocations: 201.2 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.874, allocations: 88.09 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.874, allocations: 1.203 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.8741, allocations: 5.094 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.8742, allocations: 13.77 kB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.8742, allocations: 6.453 kB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.97e-05/0.8743, allocations: 92.38 kB / 1.098 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8743, allocations: 0 / 1.098 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000264/0.8745, allocations: 21.22 kB / 1.098 GB, free: 14.25 MB / 0.8731 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.0002304/0.8748, allocations: 122.1 kB / 1.098 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.8751, allocations: 80.42 kB / 1.098 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8751, allocations: 0.75 kB / 1.098 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.8752, allocations: 42.39 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.8755, allocations: 7.328 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.876, allocations: 238.4 kB / 1.098 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.8763, allocations: 0.6875 MB / 1.099 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.8764, allocations: 13.47 kB / 1.099 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8764, allocations: 0 / 1.099 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.003527/0.8799, allocations: 1.261 MB / 1.1 GB, free: 13.1 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches