Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001365/0.001365, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001824/0.001824, allocations: 225 kB / 23 MB, free: 4.914 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.117/3.117, allocations: 0.4892 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002093/0.002093, allocations: 77.14 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3638, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003176/0.3669, allocations: 1.614 MB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004279/0.3712, allocations: 3.129 MB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.3713, allocations: 3.938 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.232e-05/0.3713, allocations: 3.938 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.304e-05/0.3714, allocations: 15.86 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.372, allocations: 135.5 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3721, allocations: 87.64 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.3722, allocations: 11.98 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.3724, allocations: 47.84 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.3724, allocations: 31.84 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3725, allocations: 4 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.3727, allocations: 103.8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.3727, allocations: 15.92 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.3728, allocations: 31.86 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.373, allocations: 127.5 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3731, allocations: 3.938 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3731, allocations: 0 / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3731, allocations: 3.938 kB / 1.332 GB, free: 12.48 MB / 1.029 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.0006119/0.3737, allocations: 317.9 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3737, allocations: 16.03 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.3739, allocations: 20.88 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3742, allocations: 138.4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3742, allocations: 8.312 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.3742, allocations: 4.375 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.3745, allocations: 85.72 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3745, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3745, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3745, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.3747, allocations: 75.94 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.3752, allocations: 264.4 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.3754, allocations: 86.48 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.3755, allocations: 40.83 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006755/0.3762, allocations: 352.3 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.3762, allocations: 34.55 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 3.798e-06/0.3762, allocations: 3.984 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004158/0.3766, allocations: 133.9 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.3767, allocations: 55.41 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.3768, allocations: 136.2 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.3769, allocations: 25.7 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.3769, allocations: 92.08 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.377, allocations: 31.73 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.377, allocations: 21.7 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3772, allocations: 318.8 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3773, allocations: 31.97 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-05/0.3774, allocations: 37.7 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.3776, allocations: 93.92 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3776, allocations: 0 / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002565/0.3778, allocations: 117.5 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3779, allocations: 4 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3779, allocations: 0 / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3779, allocations: 192 / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.378, allocations: 19.98 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.378, allocations: 7.875 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.886e-05/0.3781, allocations: 15.97 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3781, allocations: 4 kB / 1.334 GB, free: 9.734 MB / 1.029 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.0001004/0.3782, allocations: 114.5 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.3782, allocations: 11.89 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.3786, allocations: 125.9 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3786, allocations: 0 / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3786, allocations: 3.938 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3786, allocations: 4 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.3788, allocations: 129.3 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3788, allocations: 0 / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3789, allocations: 15.98 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3789, allocations: 0 / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3789, allocations: 7.984 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3789, allocations: 0 / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3789, allocations: 0 / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.3792, allocations: 207.3 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.3793, allocations: 15.89 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3793, allocations: 4 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.3794, allocations: 7.984 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.3794, allocations: 4 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3794, allocations: 11.92 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.674e-05/0.3795, allocations: 99.27 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3795, allocations: 0 / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002544/0.3798, allocations: 16 kB / 1.335 GB, free: 8.91 MB / 1.029 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.0002378/0.38, allocations: 123.2 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3803, allocations: 71.89 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3803, allocations: 0 / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3804, allocations: 43.91 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3806, allocations: 11.94 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.3812, allocations: 241.2 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.772e-05/0.3812, allocations: 79.27 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.3813, allocations: 15.38 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3813, allocations: 0 / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of Templates: time 0.003298/0.3846, allocations: 1.331 MB / 1.337 GB, free: 6.949 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.121329586952925]