Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 225.6 MB / 249.3 MB, free: 3.344 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.376/2.376, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 72.11 kB / 1.059 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2501, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002562/0.2526, allocations: 1.619 MB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003752/0.2564, allocations: 3.3 MB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.2564, allocations: 0 / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.2564, allocations: 7.922 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/0.2565, allocations: 15.86 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.2569, allocations: 119.5 kB / 1.221 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.257, allocations: 83.69 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.794e-05/0.2571, allocations: 8.188 kB / 1.221 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.687e-05/0.2572, allocations: 39.84 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.896e-05/0.2573, allocations: 43.83 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2573, allocations: 4 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.2576, allocations: 111.8 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.2576, allocations: 11.92 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.2576, allocations: 31.84 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.2579, allocations: 123.9 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2579, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.81e-07/0.2579, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.2579, allocations: 3.938 kB / 1.221 GB, free: 10.38 MB / 0.9669 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.0005355/0.2584, allocations: 395.1 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2584, allocations: 12.03 kB / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.2585, allocations: 30.75 kB / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.2585, allocations: 16.83 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2586, allocations: 176.3 kB / 1.222 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2586, allocations: 4.375 kB / 1.222 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.2587, allocations: 12.11 kB / 1.222 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.2589, allocations: 81.66 kB / 1.222 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.2589, allocations: 0 / 1.222 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.2589, allocations: 0 / 1.222 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2589, allocations: 4 kB / 1.222 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.2591, allocations: 75.88 kB / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.2595, allocations: 320.8 kB / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.2597, allocations: 86.53 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.2598, allocations: 48.91 kB / 1.222 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007961/0.2606, allocations: 0.7644 MB / 1.223 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.2606, allocations: 30.56 kB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.2606, allocations: 0 / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0003736/0.261, allocations: 137.5 kB / 1.223 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.2611, allocations: 55.44 kB / 1.223 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.2611, allocations: 125.8 kB / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2612, allocations: 25.7 kB / 1.223 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.2612, allocations: 100.1 kB / 1.223 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.2612, allocations: 23.75 kB / 1.223 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.2613, allocations: 25.7 kB / 1.223 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2614, allocations: 314.8 kB / 1.224 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/0.2615, allocations: 31.97 kB / 1.224 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-05/0.2616, allocations: 45.7 kB / 1.224 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.2618, allocations: 81.92 kB / 1.224 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2618, allocations: 0 / 1.224 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000234/0.262, allocations: 109.6 kB / 1.224 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.262, allocations: 5.875 kB / 1.224 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.262, allocations: 4.031 kB / 1.224 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.262, allocations: 7.938 kB / 1.224 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.2622, allocations: 19.92 kB / 1.224 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2622, allocations: 4 kB / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.2622, allocations: 7.984 kB / 1.224 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2622, allocations: 4 kB / 1.224 GB, free: 6.883 MB / 0.9669 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 7.741e-05/0.2623, allocations: 113.8 kB / 1.224 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.2624, allocations: 7.953 kB / 1.224 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.2626, allocations: 130.1 kB / 1.224 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2626, allocations: 3.938 kB / 1.224 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2626, allocations: 3.938 kB / 1.224 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2627, allocations: 0 / 1.224 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.2628, allocations: 193.5 kB / 1.224 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2628, allocations: 0 / 1.224 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.2629, allocations: 15.98 kB / 1.224 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.263, allocations: 4 kB / 1.224 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.263, allocations: 11.92 kB / 1.224 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.263, allocations: 4 kB / 1.224 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.263, allocations: 0 / 1.224 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.2632, allocations: 199.5 kB / 1.225 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.2633, allocations: 85.06 kB / 1.225 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.2633, allocations: 3.938 kB / 1.225 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.679e-05/0.2634, allocations: 11.98 kB / 1.225 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.2634, allocations: 11.92 kB / 1.225 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2634, allocations: 4 kB / 1.225 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.2635, allocations: 91.27 kB / 1.225 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2635, allocations: 4 kB / 1.225 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002356/0.2637, allocations: 19.94 kB / 1.225 GB, free: 5.879 MB / 0.9669 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.0006086/0.2643, allocations: 0.7515 MB / 1.226 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.2645, allocations: 79.83 kB / 1.226 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2645, allocations: 0 / 1.226 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.391e-05/0.2646, allocations: 43.91 kB / 1.226 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.2649, allocations: 12.69 kB / 1.226 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.2654, allocations: 255.2 kB / 1.226 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.2657, allocations: 0.6846 MB / 1.227 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.556e-05/0.2658, allocations: 23.84 kB / 1.227 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.2658, allocations: 23.44 kB / 1.227 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.2658, allocations: 0 / 1.227 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.2899, allocations: 2.24 MB / 1.229 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/7.367, allocations: 7.984 kB / 1.229 GB, free: 1.766 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv. Warning: Get data of variable rayleighNumber.Ra from file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.622536167997168]