Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001299/0.001299, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.002569/0.002569, allocations: 173.9 kB / 22.46 MB, free: 5.355 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.533/1.533, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.944/2.944, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.544e-05/3.719e-05, allocations: 10.16 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003534/0.003571, allocations: 1.6 MB / 0.9526 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005061/0.008633, allocations: 3.133 MB / 0.9556 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.008709, allocations: 0 / 0.9556 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.607e-05/0.008755, allocations: 11.86 kB / 0.9557 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.836e-05/0.008853, allocations: 11.81 kB / 0.9557 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.009481, allocations: 135.4 kB / 0.9558 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.009642, allocations: 87.7 kB / 0.9559 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.009734, allocations: 8 kB / 0.9559 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.009919, allocations: 59.81 kB / 0.9559 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.01001, allocations: 27.91 kB / 0.956 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.01004, allocations: 8 kB / 0.956 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.01031, allocations: 103.6 kB / 0.9561 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.01034, allocations: 11.92 kB / 0.9561 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.01039, allocations: 19.98 kB / 0.9561 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.01069, allocations: 135.6 kB / 0.9562 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.01069, allocations: 4 kB / 0.9562 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01069, allocations: 0 / 0.9562 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.0107, allocations: 4 kB / 0.9562 GB, free: 6.16 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.0008057/0.0115, allocations: 317.9 kB / 0.9565 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.01154, allocations: 8.031 kB / 0.9566 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.01177, allocations: 24.88 kB / 0.9566 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.01204, allocations: 149.6 kB / 0.9567 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.01205, allocations: 4.375 kB / 0.9567 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.01208, allocations: 8.375 kB / 0.9567 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.01231, allocations: 86.08 kB / 0.9568 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.01232, allocations: 192 / 0.9568 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.01233, allocations: 12.06 kB / 0.9568 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.01234, allocations: 0 / 0.9568 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.01255, allocations: 67.95 kB / 0.9569 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.01311, allocations: 260.5 kB / 0.9571 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.01337, allocations: 90.45 kB / 0.9572 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.01348, allocations: 40.84 kB / 0.9573 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007237/0.0142, allocations: 356.2 kB / 0.9576 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.01424, allocations: 38.56 kB / 0.9576 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.01424, allocations: 0 / 0.9576 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004673/0.01471, allocations: 137.8 kB / 0.9578 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.01483, allocations: 55.39 kB / 0.9578 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.01495, allocations: 121.3 kB / 0.9579 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.01497, allocations: 25.7 kB / 0.958 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.01505, allocations: 96.08 kB / 0.9581 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.01508, allocations: 23.8 kB / 0.9581 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.01513, allocations: 21.7 kB / 0.9581 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.0153, allocations: 326.8 kB / 0.9584 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.01542, allocations: 31.97 kB / 0.9584 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.01552, allocations: 45.69 kB / 0.9585 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.01573, allocations: 81.94 kB / 0.9586 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01573, allocations: 0 / 0.9586 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002704/0.016, allocations: 117.5 kB / 0.9587 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.01602, allocations: 4 kB / 0.9587 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01602, allocations: 0 / 0.9587 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.01604, allocations: 4 kB / 0.9587 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.01618, allocations: 19.98 kB / 0.9587 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01619, allocations: 4 kB / 0.9587 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.01627, allocations: 11.94 kB / 0.9587 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.01628, allocations: 0 / 0.9587 GB, free: 3.426 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 0.0001117/0.01639, allocations: 117.8 kB / 0.9588 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.01642, allocations: 7.984 kB / 0.9588 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.01682, allocations: 134.1 kB / 0.959 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01682, allocations: 112 / 0.959 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.01683, allocations: 7.938 kB / 0.959 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01683, allocations: 0 / 0.959 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.01702, allocations: 137.2 kB / 0.9591 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01703, allocations: 0 / 0.9591 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.01714, allocations: 19.98 kB / 0.9591 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.01714, allocations: 4 kB / 0.9591 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.01716, allocations: 3.984 kB / 0.9591 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01716, allocations: 0 / 0.9591 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01716, allocations: 0 / 0.9591 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.01749, allocations: 207.3 kB / 0.9593 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.0175, allocations: 3.953 kB / 0.9593 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.01752, allocations: 8 kB / 0.9593 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.01762, allocations: 7.984 kB / 0.9593 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.01767, allocations: 0 / 0.9593 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.01768, allocations: 7.984 kB / 0.9594 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.34e-05/0.01775, allocations: 99.27 kB / 0.9594 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01775, allocations: 0 / 0.9594 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002609/0.01801, allocations: 20 kB / 0.9595 GB, free: 2.598 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.000269/0.01828, allocations: 123.1 kB / 0.9596 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.01853, allocations: 71.89 kB / 0.9597 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01853, allocations: 4.062 kB / 0.9597 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.01864, allocations: 35.98 kB / 0.9597 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.0189, allocations: 7.938 kB / 0.9597 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.01937, allocations: 193.5 kB / 0.9599 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.387e-05/0.01945, allocations: 75.33 kB / 0.96 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.827e-05/0.01951, allocations: 16.47 kB / 0.96 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.01955, allocations: 16.48 kB / 0.96 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.01955, allocations: 0 / 0.96 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of Templates: time 0.004407/0.02396, allocations: 1.04 MB / 0.961 GB, free: 0.9844 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.324240531772375]