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.001792/0.001792, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002238/0.002238, allocations: 213.8 kB / 22.99 MB, free: 4.957 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.122/3.122, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.001967/0.001967, allocations: 70.11 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3058, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002902/0.3087, allocations: 1.607 MB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004068/0.3128, allocations: 3.129 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.3128, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.3128, allocations: 7.875 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.321e-05/0.3129, allocations: 15.86 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.3134, allocations: 135.5 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.3136, allocations: 87.69 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.104e-05/0.3136, allocations: 8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.3138, allocations: 51.78 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.988e-05/0.3139, allocations: 39.83 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.3139, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.3141, allocations: 91.86 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.3142, allocations: 23.86 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.3142, allocations: 27.84 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.3144, allocations: 131.5 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3144, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3144, allocations: 4 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.3145, allocations: 0 / 1.332 GB, free: 11.57 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.0005997/0.3151, allocations: 321.9 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.3151, allocations: 12.03 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.3153, allocations: 28.86 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.3155, allocations: 127.3 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3156, allocations: 4.375 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3156, allocations: 4.375 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.3158, allocations: 89.7 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3158, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3158, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3158, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.316, allocations: 71.94 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.3165, allocations: 264.4 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.3167, allocations: 86.48 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3168, allocations: 40.83 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/0.3175, allocations: 352.3 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.3176, allocations: 34.56 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3176, allocations: 3.938 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004247/0.318, allocations: 141.8 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.318, allocations: 51.41 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3181, allocations: 135 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3181, allocations: 25.7 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.3182, allocations: 96.06 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.3182, allocations: 35.72 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.3183, allocations: 21.72 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3184, allocations: 318.8 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.646e-05/0.3185, allocations: 27.98 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.3186, allocations: 45.69 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.3188, allocations: 81.62 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3188, allocations: 0 / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000259/0.3191, allocations: 113.5 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3191, allocations: 8 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3191, allocations: 0 / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3191, allocations: 0 / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3193, allocations: 19.98 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3193, allocations: 4.047 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.3194, allocations: 15.92 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.3194, allocations: 8 kB / 1.335 GB, free: 8.828 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 9.633e-05/0.3195, allocations: 122.4 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.3195, allocations: 3.953 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.3198, allocations: 118 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3198, allocations: 0 / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3198, allocations: 7.938 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3198, allocations: 4.188 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.32, allocations: 129.3 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.32, allocations: 7.938 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.3201, allocations: 15.98 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3201, allocations: 0 / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3201, allocations: 0 / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3201, allocations: 0 / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3201, allocations: 0 / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.3204, allocations: 215.3 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.3204, allocations: 15.89 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3204, allocations: 3.984 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3206, allocations: 4 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.3206, allocations: 7.984 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.3206, allocations: 7.938 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.759e-05/0.3207, allocations: 99.14 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3207, allocations: 0 / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002581/0.3209, allocations: 20 kB / 1.336 GB, free: 8.004 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.0001848/0.3211, allocations: 121.5 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.3214, allocations: 76.44 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3214, allocations: 0 / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3215, allocations: 36.14 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.3217, allocations: 8.141 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.3222, allocations: 227.3 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.018e-05/0.3222, allocations: 79.27 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.608e-05/0.3223, allocations: 7.984 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.3223, allocations: 15.44 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3223, allocations: 0 / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of Templates: time 0.003907/0.3262, allocations: 1.117 MB / 1.337 GB, free: 6.285 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 -s gbode -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: 8.44059181000921]