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.001185/0.001185, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001323/0.001323, allocations: 217.8 kB / 22.25 MB, free: 5.121 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.305/1.305, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] 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 2.909/2.909, allocations: 0.505 GB / 0.8101 GB, free: 22.1 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.001826/0.001826, allocations: 66.53 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2878, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002678/0.2904, allocations: 1.64 MB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003895/0.2943, allocations: 3.398 MB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.2944, allocations: 0 / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.2944, allocations: 11.81 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.043e-05/0.2945, allocations: 19.84 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.295, allocations: 147.5 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.2951, allocations: 71.78 kB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.2952, allocations: 12.27 kB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.2953, allocations: 51.78 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.2954, allocations: 43.77 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.2954, allocations: 4 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.2957, allocations: 111.8 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.417e-05/0.2957, allocations: 19.92 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.2958, allocations: 31.8 kB / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.296, allocations: 135.5 kB / 1.358 GB, free: 2.723 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.296, allocations: 3.938 kB / 1.358 GB, free: 2.719 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.062e-06/0.296, allocations: 0 / 1.358 GB, free: 2.719 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.296, allocations: 0 / 1.358 GB, free: 2.719 MB / 1.045 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.0005172/0.2965, allocations: 321.9 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2965, allocations: 8.031 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.2966, allocations: 38.75 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.2968, allocations: 28.86 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.297, allocations: 137.3 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.297, allocations: 3.938 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.297, allocations: 8 kB / 1.359 GB, free: 2.125 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.2972, allocations: 81.59 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2972, allocations: 0 / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2972, allocations: 0 / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2973, allocations: 4 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.2974, allocations: 71.94 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.2979, allocations: 295.8 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.2981, allocations: 94.47 kB / 1.359 GB, free: 1.531 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.048e-05/0.2982, allocations: 36.84 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006245/0.2988, allocations: 364.3 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.2989, allocations: 38.5 kB / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.2989, allocations: 0 / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0003819/0.2993, allocations: 137.8 kB / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.2993, allocations: 51.41 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2994, allocations: 125.7 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2994, allocations: 29.7 kB / 1.36 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.2995, allocations: 100 kB / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.2995, allocations: 27.75 kB / 1.36 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.2996, allocations: 25.7 kB / 1.36 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2997, allocations: 314.8 kB / 1.361 GB, free: 228 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.2998, allocations: 31.97 kB / 1.361 GB, free: 196 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.2999, allocations: 53.64 kB / 1.361 GB, free: 136 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3, allocations: 81.62 kB / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3, allocations: 0 / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002387/0.3003, allocations: 109.5 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3003, allocations: 11.94 kB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3003, allocations: 0 / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3003, allocations: 4.031 kB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3004, allocations: 19.98 kB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3004, allocations: 0 / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.032e-05/0.3005, allocations: 11.94 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.3005, allocations: 4.109 kB / 1.361 GB, free: 15.88 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 8.767e-05/0.3006, allocations: 125.7 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.3006, allocations: 15.88 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.3009, allocations: 129.9 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3009, allocations: 4 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3009, allocations: 0 / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3009, allocations: 0 / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.3011, allocations: 156.7 kB / 1.361 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3011, allocations: 0 / 1.361 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.3012, allocations: 15.98 kB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/0.3012, allocations: 11.92 kB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.3012, allocations: 0 / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3012, allocations: 4 kB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3012, allocations: 0 / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3015, allocations: 207.9 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.3015, allocations: 19.83 kB / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3015, allocations: 0 / 1.362 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3016, allocations: 7.984 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.3017, allocations: 8 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3017, allocations: 3.984 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.596e-05/0.3017, allocations: 99.27 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3017, allocations: 192 / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002448/0.302, allocations: 20 kB / 1.362 GB, free: 14.99 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.0006217/0.3026, allocations: 0.7612 MB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3028, allocations: 75.94 kB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3028, allocations: 0 / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.892e-05/0.3029, allocations: 35.92 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.3032, allocations: 13.19 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.3048, allocations: 1.527 MB / 1.364 GB, free: 12.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.3051, allocations: 0.6922 MB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.028e-05/0.3052, allocations: 7.984 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.3052, allocations: 19.44 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.3052, allocations: 0 / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03941/0.3446, allocations: 2.459 MB / 1.367 GB, free: 9.398 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.814/10.16, allocations: 11.19 kB / 1.367 GB, free: 9.395 MB / 1.061 GB " [Timeout remaining time 290] (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.070198850999986]