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.001321/0.001321, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001446/0.001446, allocations: 215.8 kB / 22.25 MB, free: 5.133 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.372/1.372, allocations: 230.6 MB / 256 MB, free: 8.004 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 2.988/2.988, allocations: 0.49 GB / 0.7951 GB, free: 33.49 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_12_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.001903/0.001903, allocations: 66.14 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3115, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002774/0.3142, allocations: 1.638 MB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004182/0.3184, allocations: 3.398 MB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.3185, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.3185, allocations: 11.92 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.398e-05/0.3186, allocations: 19.8 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.3191, allocations: 139.5 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.3192, allocations: 75.77 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.3193, allocations: 8.281 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.3195, allocations: 59.77 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3196, allocations: 35.84 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3196, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.3199, allocations: 115.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.3199, allocations: 19.92 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.3199, allocations: 27.86 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.3202, allocations: 139.4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3202, allocations: 3.984 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3202, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.3202, allocations: 4 kB / 1.331 GB, free: 12.2 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.0005542/0.3207, allocations: 317.9 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3208, allocations: 8.031 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.3208, allocations: 38.75 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.321, allocations: 28.86 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.3213, allocations: 134.4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.3213, allocations: 8.312 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3213, allocations: 8.375 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.3215, allocations: 81.58 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3215, allocations: 3.938 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3215, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.3215, allocations: 4 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.3217, allocations: 75.88 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.3222, allocations: 295.8 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.3225, allocations: 90.48 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.397e-05/0.3225, allocations: 36.83 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006269/0.3232, allocations: 360.3 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3232, allocations: 34.56 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.3232, allocations: 0 / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003916/0.3236, allocations: 145.7 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.3236, allocations: 55.41 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3237, allocations: 121.8 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3238, allocations: 25.7 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.3238, allocations: 100 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.3238, allocations: 31.73 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.3239, allocations: 17.72 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.324, allocations: 322.8 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.3241, allocations: 31.98 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.089e-05/0.3242, allocations: 45.69 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.3244, allocations: 77.62 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3244, allocations: 0 / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002515/0.3246, allocations: 113.6 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3246, allocations: 5.562 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3246, allocations: 112 / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3247, allocations: 7.875 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3248, allocations: 27.92 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3248, allocations: 0 / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.338e-05/0.3249, allocations: 11.94 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3249, allocations: 4 kB / 1.334 GB, free: 9.359 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.031e-05/0.325, allocations: 118.6 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.325, allocations: 4 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.3253, allocations: 130.2 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3253, allocations: 7.938 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3253, allocations: 3.984 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3253, allocations: 0 / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.3255, allocations: 160.7 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3255, allocations: 4 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3257, allocations: 15.98 kB / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3257, allocations: 4 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3257, allocations: 0 / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.3257, allocations: 7.938 kB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3257, allocations: 80 / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.326, allocations: 211.4 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.326, allocations: 15.89 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.326, allocations: 4 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.3261, allocations: 7.938 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.3261, allocations: 7.984 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3262, allocations: 0 / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.494e-05/0.3262, allocations: 100.3 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3262, allocations: 0 / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002557/0.3265, allocations: 19.98 kB / 1.335 GB, free: 8.48 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.0006506/0.3271, allocations: 0.7475 MB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.3274, allocations: 79.95 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3274, allocations: 3.938 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.816e-05/0.3275, allocations: 39.91 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.3277, allocations: 11.94 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.3295, allocations: 1.529 MB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3298, allocations: 0.6977 MB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.872e-05/0.3299, allocations: 11.98 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.3299, allocations: 19.44 kB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.3299, allocations: 0 / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.3608, allocations: 2.453 MB / 1.34 GB, free: 2.895 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.948/10.31, allocations: 15.03 kB / 1.34 GB, free: 2.883 MB / 1.029 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv","/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] "Error: Could not read variable rayleighNumber.Ra in file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv. Warning: Get data of variable rayleighNumber.Ra from file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.530745010000828]