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.00804/0.00804, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.00163/0.00163, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.423/2.423, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 64.42 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2509, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002621/0.2535, allocations: 1.602 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003393/0.257, allocations: 3.254 MB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.257, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.2571, allocations: 7.875 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.11e-05/0.2572, allocations: 19.86 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.2576, allocations: 115.5 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.2577, allocations: 75.72 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.2578, allocations: 20.16 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.2579, allocations: 35.86 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.258, allocations: 39.84 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.258, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.2583, allocations: 103.8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.2583, allocations: 19.92 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.2584, allocations: 31.8 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.2586, allocations: 127.6 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2586, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2586, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2586, allocations: 0 / 1.093 GB, free: 11.98 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.0005228/0.2592, allocations: 391.2 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.2592, allocations: 8.031 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.2592, allocations: 8.844 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.2594, allocations: 180.2 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2594, allocations: 7.938 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.2594, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.2596, allocations: 81.59 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2596, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2596, allocations: 3.938 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2596, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.2598, allocations: 75.88 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.2603, allocations: 316.8 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.2605, allocations: 106.5 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.681e-05/0.2606, allocations: 44.84 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007609/0.2614, allocations: 0.7565 MB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.2614, allocations: 42.48 kB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.2615, allocations: 0 / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003745/0.2618, allocations: 133.8 kB / 1.095 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.2619, allocations: 55.41 kB / 1.095 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.262, allocations: 121.7 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.262, allocations: 29.7 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.262, allocations: 92.12 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.2621, allocations: 27.56 kB / 1.096 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.2621, allocations: 25.7 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.2622, allocations: 314.8 kB / 1.096 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.2623, allocations: 31.97 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.672e-05/0.2624, allocations: 45.7 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.2626, allocations: 85.61 kB / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2626, allocations: 112 / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002343/0.2628, allocations: 117.8 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2629, allocations: 7.938 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2629, allocations: 0 / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2629, allocations: 4.031 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.263, allocations: 19.98 kB / 1.096 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.263, allocations: 4.062 kB / 1.096 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.2631, allocations: 7.984 kB / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2631, allocations: 4 kB / 1.096 GB, free: 8.512 MB / 0.8575 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 7.064e-05/0.2632, allocations: 113.8 kB / 1.096 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.2633, allocations: 11.84 kB / 1.096 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.2636, allocations: 130.1 kB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2636, allocations: 0 / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2636, allocations: 4 kB / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2636, allocations: 0 / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.2638, allocations: 189.6 kB / 1.097 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2638, allocations: 0 / 1.097 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.2639, allocations: 15.98 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2639, allocations: 3.938 kB / 1.097 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.2639, allocations: 7.984 kB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2639, allocations: 8 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2639, allocations: 0 / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.2642, allocations: 199.4 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.2642, allocations: 84.95 kB / 1.097 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.2643, allocations: 4 kB / 1.097 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.2644, allocations: 11.98 kB / 1.097 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.2644, allocations: 4 kB / 1.097 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.2644, allocations: 4 kB / 1.097 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.2645, allocations: 91.27 kB / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.383e-06/0.2645, allocations: 0 / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002557/0.2647, allocations: 23.94 kB / 1.097 GB, free: 7.52 MB / 0.8575 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.0001814/0.2649, allocations: 115.2 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.2652, allocations: 87.89 kB / 1.097 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2652, allocations: 0 / 1.097 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.2653, allocations: 39.97 kB / 1.097 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.2656, allocations: 12 kB / 1.097 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.2661, allocations: 214 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.2663, allocations: 0.6885 MB / 1.098 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.973e-05/0.2664, allocations: 19.61 kB / 1.098 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.2664, allocations: 11.44 kB / 1.098 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.2664, allocations: 4 kB / 1.098 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of Templates: time 0.003447/0.2699, allocations: 1.036 MB / 1.099 GB, free: 5.246 MB / 0.8575 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/jenkins/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