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.001226/0.001226, allocations: 89.89 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.009724/0.009725, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.34/2.34, allocations: 390.9 MB / 0.6663 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003131, allocations: 8 kB / 0.816 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.6059, allocations: 142.4 MB / 0.955 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001376/0.6073, allocations: 1.315 MB / 0.9563 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.61, allocations: 3.203 MB / 0.9595 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.6101, allocations: 0 / 0.9595 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.6101, allocations: 9.203 kB / 0.9595 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.6102, allocations: 9.062 kB / 0.9595 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.6105, allocations: 110 kB / 0.9596 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.318e-05/0.6106, allocations: 72.22 kB / 0.9596 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.6107, allocations: 13.02 kB / 0.9597 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.6108, allocations: 43.31 kB / 0.9597 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.258e-05/0.6109, allocations: 35.53 kB / 0.9597 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.6109, allocations: 3.688 kB / 0.9597 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.6111, allocations: 99.83 kB / 0.9598 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.6112, allocations: 10.61 kB / 0.9598 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.6112, allocations: 52.97 kB / 0.9599 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.6114, allocations: 112.3 kB / 0.96 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.6114, allocations: 0 / 0.96 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6114, allocations: 5.375 kB / 0.96 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6114, allocations: 0 / 0.96 GB, free: 3.805 MB / 0.7169 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.0004098/0.6118, allocations: 385.5 kB / 0.9604 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.6119, allocations: 9.625 kB / 0.9604 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.6119, allocations: 7.594 kB / 0.9604 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.471e-05/0.612, allocations: 176.3 kB / 0.9606 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.612, allocations: 14.81 kB / 0.9606 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.612, allocations: 2.75 kB / 0.9606 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.6122, allocations: 89.03 kB / 0.9607 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6122, allocations: 0 / 0.9607 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.6122, allocations: 1.375 kB / 0.9607 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.6123, allocations: 1.375 kB / 0.9607 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.6124, allocations: 85.44 kB / 0.9607 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.6128, allocations: 329.6 kB / 0.9611 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.6131, allocations: 106.5 kB / 0.9612 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.6132, allocations: 45.59 kB / 0.9612 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/0.6137, allocations: 0.7374 MB / 0.9619 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.6137, allocations: 39.94 kB / 0.962 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.6137, allocations: 0 / 0.962 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003645/0.6141, allocations: 157 kB / 0.9621 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.6141, allocations: 52.53 kB / 0.9622 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/0.6142, allocations: 124.2 kB / 0.9623 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.6142, allocations: 26.67 kB / 0.9623 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.6143, allocations: 98.08 kB / 0.9624 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.6143, allocations: 23.05 kB / 0.9624 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.6143, allocations: 16.12 kB / 0.9624 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.6144, allocations: 321.1 kB / 0.9627 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.6144, allocations: 31.64 kB / 0.9628 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.002e-05/0.6145, allocations: 56.47 kB / 0.9628 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.6147, allocations: 84.75 kB / 0.9629 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6147, allocations: 1.156 kB / 0.9629 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002246/0.615, allocations: 127.4 kB / 0.963 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.615, allocations: 10.53 kB / 0.963 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.615, allocations: 0.75 kB / 0.963 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.615, allocations: 0.75 kB / 0.963 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.6151, allocations: 20.58 kB / 0.9631 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.6152, allocations: 1.422 kB / 0.9631 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.23e-05/0.6152, allocations: 10.06 kB / 0.9631 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.6153, allocations: 6.938 kB / 0.9631 GB, free: 0.8516 MB / 0.7169 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 5.081e-05/0.6153, allocations: 120.7 kB / 0.9632 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.6153, allocations: 10.88 kB / 0.9632 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.6156, allocations: 132.8 kB / 0.9633 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6156, allocations: 1.156 kB / 0.9633 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.6157, allocations: 0 / 0.9633 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6157, allocations: 1 kB / 0.9633 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.6158, allocations: 189.1 kB / 0.9635 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6158, allocations: 0 / 0.9635 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.6159, allocations: 18.95 kB / 0.9635 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.6159, allocations: 4.688 kB / 0.9635 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.6159, allocations: 4.906 kB / 0.9635 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6159, allocations: 1.031 kB / 0.9635 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6159, allocations: 0 / 0.9635 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.6162, allocations: 219.8 kB / 0.9638 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.6162, allocations: 87.39 kB / 0.9638 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.6162, allocations: 9.266 kB / 0.9638 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.6163, allocations: 5.188 kB / 0.9638 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.6164, allocations: 7.578 kB / 0.9639 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.6164, allocations: 1.094 kB / 0.9639 GB, free: 112 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.017e-05/0.6164, allocations: 96.17 kB / 0.9639 GB, free: 24 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6164, allocations: 1.406 kB / 0.9639 GB, free: 24 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002492/0.6167, allocations: 20.5 kB / 0.964 GB, free: 20 kB / 0.7169 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.0002006/0.6169, allocations: 127.4 kB / 0.9641 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.6171, allocations: 84.14 kB / 0.9642 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6172, allocations: 0 / 0.9642 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.6173, allocations: 47.41 kB / 0.9642 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.6176, allocations: 7 kB / 0.9642 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.618, allocations: 253.8 kB / 0.9645 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.6182, allocations: 0.6896 MB / 0.9651 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.318e-05/0.6183, allocations: 11.95 kB / 0.9651 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.6183, allocations: 18.86 kB / 0.9652 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of SimCode: time 1.613e-06/0.6183, allocations: 0 / 0.9652 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.003137/0.6215, allocations: 0.9369 MB / 0.9661 GB, free: 14.43 MB / 0.7325 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