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.001326/0.001326, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001523/0.001523, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.792/2.792, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) [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.002089/0.002089, allocations: 65.41 kB / 1.117 GB, free: 40.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.315, allocations: 170 MB / 1.283 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00321/0.3182, allocations: 1.616 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0045/0.3227, allocations: 3.127 MB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.177e-05/0.3228, allocations: 0 / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.3228, allocations: 3.938 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.3229, allocations: 27.78 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.3236, allocations: 135.5 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.3237, allocations: 71.78 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.3238, allocations: 15.97 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.324, allocations: 51.77 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3241, allocations: 31.84 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.3241, allocations: 8 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.3244, allocations: 95.8 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.3245, allocations: 23.91 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.3245, allocations: 23.86 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.3248, allocations: 129.2 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3248, allocations: 4 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3248, allocations: 0 / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3248, allocations: 0 / 1.288 GB, free: 6.902 MB / 0.9825 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.000769/0.3256, allocations: 317.9 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3256, allocations: 8.031 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.3257, allocations: 38.75 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002938/0.326, allocations: 28.86 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.3263, allocations: 134.5 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-06/0.3263, allocations: 384 / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3264, allocations: 4.375 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.3266, allocations: 89.47 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3267, allocations: 4 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3267, allocations: 0 / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3267, allocations: 4 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.3269, allocations: 71.94 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.3274, allocations: 287.8 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.3277, allocations: 94.41 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.3278, allocations: 40.84 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006894/0.3285, allocations: 344.4 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.3285, allocations: 38.56 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.3285, allocations: 0 / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004188/0.3289, allocations: 145.7 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.329, allocations: 51.41 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.3291, allocations: 125.8 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3291, allocations: 25.7 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.3292, allocations: 100.1 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.3292, allocations: 27.75 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.3293, allocations: 25.7 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3294, allocations: 314.8 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.3295, allocations: 31.97 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.856e-05/0.3296, allocations: 45.7 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.3298, allocations: 77.62 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3298, allocations: 0 / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002511/0.33, allocations: 113.6 kB / 1.29 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3301, allocations: 8 kB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3301, allocations: 400 / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.3301, allocations: 7.922 kB / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.3302, allocations: 27.95 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3302, allocations: 0 / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/0.3303, allocations: 11.92 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3303, allocations: 8 kB / 1.29 GB, free: 4.082 MB / 0.9825 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.341e-05/0.3304, allocations: 113.8 kB / 1.29 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.3305, allocations: 3.953 kB / 1.29 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.3308, allocations: 134 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3308, allocations: 7.938 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3308, allocations: 4 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3308, allocations: 0 / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.331, allocations: 148.7 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.331, allocations: 0 / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.3311, allocations: 19.98 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3311, allocations: 0 / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3311, allocations: 4 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3311, allocations: 3.938 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3311, allocations: 4 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.3315, allocations: 207.4 kB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.3315, allocations: 11.89 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3315, allocations: 4 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3316, allocations: 11.92 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.3316, allocations: 11.92 kB / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3316, allocations: 0 / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.914e-05/0.3317, allocations: 99.27 kB / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3317, allocations: 0 / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002641/0.332, allocations: 16 kB / 1.291 GB, free: 3.211 MB / 0.9825 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.0007762/0.3328, allocations: 0.7553 MB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.333, allocations: 71.89 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.333, allocations: 0 / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3331, allocations: 43.91 kB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.3334, allocations: 18.06 kB / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.3353, allocations: 1.528 MB / 1.293 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.3354, allocations: 79.58 kB / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.204e-05/0.3355, allocations: 8.578 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.3356, allocations: 23.42 kB / 1.294 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3356, allocations: 0 / 1.294 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3652, allocations: 2.835 MB / 1.296 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.81, allocations: 6 kB / 1.296 GB, free: 13.86 MB / 0.9981 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv --start-time 0 --stop-time 50 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable rayleighNumber.Ra in file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv. Warning: Get data of variable rayleighNumber.Ra from file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.3712802301161]