Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 78.88 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 159 kB / 23.01 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.889/2.889, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00344/0.00344, allocations: 71.88 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8991/0.9025, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002639/0.9052, allocations: 1.621 MB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003562/0.9087, allocations: 3.133 MB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.9088, allocations: 0 / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.9088, allocations: 6.484 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.9089, allocations: 20.05 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.9094, allocations: 135.2 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.9096, allocations: 78.97 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.9097, allocations: 10.44 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.9098, allocations: 49.77 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.888e-05/0.9099, allocations: 37.23 kB / 1.192 GB, free: 12.78 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.9099, allocations: 5.125 kB / 1.192 GB, free: 12.78 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.9102, allocations: 95.89 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.9102, allocations: 18.38 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.9102, allocations: 24.56 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.9105, allocations: 132.5 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9105, allocations: 0 / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9105, allocations: 0 / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.9105, allocations: 1.062 kB / 1.192 GB, free: 12.68 MB / 1.076 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.0004935/0.911, allocations: 316.3 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.911, allocations: 10.12 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.9112, allocations: 28.88 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.9115, allocations: 139.5 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.9115, allocations: 6.531 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.9115, allocations: 6.438 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.9117, allocations: 76.38 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.9117, allocations: 0 / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.9117, allocations: 1.188 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.9117, allocations: 5.156 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.9119, allocations: 76.41 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.9123, allocations: 259 kB / 1.193 GB, free: 11.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.9125, allocations: 84.69 kB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.831e-05/0.9126, allocations: 45 kB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000575/0.9132, allocations: 354.6 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.9132, allocations: 41.58 kB / 1.193 GB, free: 11.53 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.9132, allocations: 0 / 1.193 GB, free: 11.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0004067/0.9136, allocations: 137 kB / 1.193 GB, free: 11.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.9136, allocations: 57.03 kB / 1.193 GB, free: 11.39 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.199e-05/0.9137, allocations: 124.4 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.9137, allocations: 34.98 kB / 1.194 GB, free: 11.25 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.9138, allocations: 92.77 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.9138, allocations: 25.06 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.9138, allocations: 26.83 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.9139, allocations: 319.5 kB / 1.194 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.113e-05/0.914, allocations: 30.09 kB / 1.194 GB, free: 10.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.9141, allocations: 42.55 kB / 1.194 GB, free: 10.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.9142, allocations: 82.14 kB / 1.194 GB, free: 10.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9142, allocations: 1.062 kB / 1.194 GB, free: 10.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002326/0.9145, allocations: 108.2 kB / 1.194 GB, free: 10.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.9145, allocations: 5.875 kB / 1.194 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.9145, allocations: 1.125 kB / 1.194 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.9145, allocations: 8.859 kB / 1.194 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.9147, allocations: 22.78 kB / 1.194 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.9147, allocations: 5.188 kB / 1.194 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.534e-05/0.9147, allocations: 14.33 kB / 1.194 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.9147, allocations: 6.906 kB / 1.194 GB, free: 10.64 MB / 1.076 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.62e-05/0.9148, allocations: 113.7 kB / 1.194 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.9148, allocations: 8.391 kB / 1.194 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.9151, allocations: 123 kB / 1.195 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.9151, allocations: 5.281 kB / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9151, allocations: 0.6562 kB / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.9151, allocations: 4.656 kB / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.9153, allocations: 138.6 kB / 1.195 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.9153, allocations: 0 / 1.195 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.9154, allocations: 17.12 kB / 1.195 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.9154, allocations: 1.094 kB / 1.195 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.9154, allocations: 5.266 kB / 1.195 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.9154, allocations: 5.062 kB / 1.195 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9154, allocations: 3.938 kB / 1.195 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.9156, allocations: 198.9 kB / 1.195 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.9157, allocations: 10.72 kB / 1.195 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.9157, allocations: 1.781 kB / 1.195 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.9158, allocations: 16.98 kB / 1.195 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.9158, allocations: 6.344 kB / 1.195 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.9158, allocations: 1.812 kB / 1.195 GB, free: 10.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.799e-05/0.9159, allocations: 94.53 kB / 1.195 GB, free: 10.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9159, allocations: 0 / 1.195 GB, free: 10.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002681/0.9161, allocations: 26.08 kB / 1.195 GB, free: 10.04 MB / 1.076 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.0001737/0.9163, allocations: 110.8 kB / 1.195 GB, free: 9.945 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.9166, allocations: 78.52 kB / 1.195 GB, free: 9.922 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.9166, allocations: 0 / 1.195 GB, free: 9.922 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.741e-05/0.9167, allocations: 36.45 kB / 1.195 GB, free: 9.914 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.9169, allocations: 8 kB / 1.195 GB, free: 9.91 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.9173, allocations: 221.8 kB / 1.196 GB, free: 9.742 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/0.9174, allocations: 74.25 kB / 1.196 GB, free: 9.672 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.555e-05/0.9175, allocations: 9.172 kB / 1.196 GB, free: 9.668 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.9175, allocations: 17.61 kB / 1.196 GB, free: 9.656 MB / 1.076 GB Notification: Performance of SimCode: time 2.8e-07/0.9175, allocations: 0 / 1.196 GB, free: 9.656 MB / 1.076 GB Notification: Performance of Templates: time 0.004185/0.9217, allocations: 1.027 MB / 1.197 GB, free: 9.5 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.88868170499336]