Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001474/0.001474, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001654/0.001654, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.349/1.349, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.005/3.005, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_latest_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.001991/0.001991, allocations: 68.48 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3028, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00271/0.3055, allocations: 1.615 MB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003829/0.3094, allocations: 3.13 MB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.3094, allocations: 0 / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.3094, allocations: 3.938 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.3095, allocations: 19.86 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.31, allocations: 143.4 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.3101, allocations: 75.72 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.3102, allocations: 12.27 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3104, allocations: 43.84 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.3104, allocations: 43.83 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3105, allocations: 4 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.3107, allocations: 91.8 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.3107, allocations: 23.91 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.3108, allocations: 23.86 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.311, allocations: 123.5 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.311, allocations: 4 kB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.311, allocations: 0 / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.311, allocations: 0 / 1.369 GB, free: 8.676 MB / 1.061 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.000547/0.3115, allocations: 325.9 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3116, allocations: 8.031 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.3116, allocations: 38.69 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.3118, allocations: 28.86 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.312, allocations: 134.4 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3121, allocations: 3.938 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.3121, allocations: 4 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.3123, allocations: 81.64 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3123, allocations: 4 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3123, allocations: 0 / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3123, allocations: 4 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.3125, allocations: 79.86 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.313, allocations: 279.9 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.3132, allocations: 86.59 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3133, allocations: 44.83 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006139/0.3139, allocations: 348.4 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.3139, allocations: 42.5 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.3139, allocations: 0 / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004011/0.3143, allocations: 137.6 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3144, allocations: 51.41 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3145, allocations: 132.7 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3145, allocations: 33.73 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.3146, allocations: 95.97 kB / 1.371 GB, free: 6.566 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.3146, allocations: 27.78 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.3146, allocations: 25.67 kB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3148, allocations: 318.8 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.3149, allocations: 27.98 kB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/0.315, allocations: 49.69 kB / 1.371 GB, free: 6.105 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.3151, allocations: 77.69 kB / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3151, allocations: 0 / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000231/0.3154, allocations: 113.6 kB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3154, allocations: 11.94 kB / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3154, allocations: 0 / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3154, allocations: 0 / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3155, allocations: 24.02 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.3155, allocations: 3.938 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.3156, allocations: 15.94 kB / 1.371 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.3156, allocations: 4 kB / 1.371 GB, free: 5.848 MB / 1.061 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.201e-05/0.3157, allocations: 113.8 kB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.3157, allocations: 7.891 kB / 1.371 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.316, allocations: 122.4 kB / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.316, allocations: 4 kB / 1.371 GB, free: 5.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.316, allocations: 3.984 kB / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.316, allocations: 3.938 kB / 1.371 GB, free: 5.582 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.3162, allocations: 148.8 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3162, allocations: 3.938 kB / 1.372 GB, free: 5.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.3163, allocations: 15.98 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3163, allocations: 4.125 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3164, allocations: 7.984 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3164, allocations: 3.938 kB / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3164, allocations: 0 / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.3166, allocations: 207.5 kB / 1.372 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.3167, allocations: 19.83 kB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3167, allocations: 0 / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.3168, allocations: 7.984 kB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.3168, allocations: 4 kB / 1.372 GB, free: 5.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.3168, allocations: 3.984 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.114e-05/0.3169, allocations: 103.2 kB / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3169, allocations: 0 / 1.372 GB, free: 5.004 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002419/0.3171, allocations: 20 kB / 1.372 GB, free: 4.984 MB / 1.061 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.0006409/0.3177, allocations: 0.7514 MB / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.318, allocations: 75.89 kB / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.318, allocations: 0 / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.3181, allocations: 36.05 kB / 1.373 GB, free: 4.098 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.3183, allocations: 12 kB / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.3201, allocations: 1.529 MB / 1.374 GB, free: 2.469 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.558e-05/0.3201, allocations: 91.38 kB / 1.374 GB, free: 2.359 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.188e-05/0.3202, allocations: 16 kB / 1.374 GB, free: 2.344 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.3202, allocations: 19.44 kB / 1.374 GB, free: 2.324 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.3202, allocations: 0 / 1.374 GB, free: 2.324 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.3495, allocations: 2.853 MB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.71, allocations: 4.812 kB / 1.377 GB, free: 15.62 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv --start-time 0 --stop-time 50 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv. Warning: Get data of variable rayleighNumber.Ra from file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.928209864068776]