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.001424/0.001424, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001548/0.001548, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.514/1.514, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.433/3.433, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 176] 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.002153/0.002153, allocations: 74.31 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3785, allocations: 180.2 MB / 1.348 GB, free: 9.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003113/0.3816, allocations: 1.616 MB / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00439/0.386, allocations: 3.371 MB / 1.353 GB, free: 4.949 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.3861, allocations: 8 kB / 1.353 GB, free: 4.941 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.06e-05/0.3861, allocations: 15.8 kB / 1.353 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.608e-05/0.3862, allocations: 11.86 kB / 1.353 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.3868, allocations: 139.5 kB / 1.353 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3869, allocations: 79.77 kB / 1.353 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.387, allocations: 16 kB / 1.353 GB, free: 4.684 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.3871, allocations: 47.77 kB / 1.353 GB, free: 4.637 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.645e-05/0.3872, allocations: 39.78 kB / 1.353 GB, free: 4.598 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3873, allocations: 8 kB / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.3875, allocations: 107.8 kB / 1.353 GB, free: 4.484 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.3876, allocations: 11.98 kB / 1.353 GB, free: 4.473 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.3876, allocations: 31.8 kB / 1.353 GB, free: 4.441 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.3879, allocations: 139.7 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3879, allocations: 3.938 kB / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3879, allocations: 4 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3879, allocations: 0 / 1.353 GB, free: 4.297 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.0006431/0.3885, allocations: 391 kB / 1.354 GB, free: 3.867 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3886, allocations: 15.98 kB / 1.354 GB, free: 3.852 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.3886, allocations: 38.73 kB / 1.354 GB, free: 3.805 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.3888, allocations: 24.88 kB / 1.354 GB, free: 3.781 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.3891, allocations: 196.2 kB / 1.354 GB, free: 3.551 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3891, allocations: 7.938 kB / 1.354 GB, free: 3.543 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3892, allocations: 7.938 kB / 1.354 GB, free: 3.535 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.3894, allocations: 77.64 kB / 1.354 GB, free: 3.453 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.3894, allocations: 0 / 1.354 GB, free: 3.453 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3894, allocations: 4 kB / 1.354 GB, free: 3.449 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3894, allocations: 4 kB / 1.354 GB, free: 3.445 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.3896, allocations: 71.94 kB / 1.354 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.3902, allocations: 324.7 kB / 1.354 GB, free: 3.008 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.3904, allocations: 90.48 kB / 1.355 GB, free: 2.91 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3905, allocations: 44.77 kB / 1.355 GB, free: 2.863 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009765/0.3915, allocations: 0.7605 MB / 1.355 GB, free: 1.984 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.3915, allocations: 34.5 kB / 1.355 GB, free: 1.941 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.3915, allocations: 0 / 1.355 GB, free: 1.941 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0004528/0.392, allocations: 138 kB / 1.355 GB, free: 1.801 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.3921, allocations: 55.39 kB / 1.356 GB, free: 1.734 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.3922, allocations: 125.8 kB / 1.356 GB, free: 1.602 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3922, allocations: 29.7 kB / 1.356 GB, free: 1.566 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.3923, allocations: 92.06 kB / 1.356 GB, free: 1.473 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.3923, allocations: 27.8 kB / 1.356 GB, free: 1.445 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.3924, allocations: 25.7 kB / 1.356 GB, free: 1.414 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3926, allocations: 322.8 kB / 1.356 GB, free: 1.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3927, allocations: 31.97 kB / 1.356 GB, free: 1.059 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3928, allocations: 41.7 kB / 1.356 GB, free: 1.012 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.393, allocations: 81.69 kB / 1.356 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.393, allocations: 0 / 1.356 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002857/0.3933, allocations: 117.5 kB / 1.356 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3933, allocations: 7.938 kB / 1.356 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3933, allocations: 0 / 1.356 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3933, allocations: 0 / 1.356 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.3935, allocations: 23.98 kB / 1.356 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3935, allocations: 3.984 kB / 1.356 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.3936, allocations: 15.88 kB / 1.356 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.3936, allocations: 4.109 kB / 1.356 GB, free: 0.75 MB / 1.045 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 0.0001083/0.3937, allocations: 121.8 kB / 1.357 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.3937, allocations: 11.89 kB / 1.357 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.394, allocations: 126.1 kB / 1.357 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.394, allocations: 3.938 kB / 1.357 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.394, allocations: 0 / 1.357 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.394, allocations: 0 / 1.357 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.3943, allocations: 193.6 kB / 1.357 GB, free: 240 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3943, allocations: 0 / 1.357 GB, free: 240 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.3944, allocations: 19.98 kB / 1.357 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3944, allocations: 7.938 kB / 1.357 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.3944, allocations: 0 / 1.357 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3944, allocations: 0 / 1.357 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3944, allocations: 0 / 1.357 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.3947, allocations: 203.5 kB / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.3948, allocations: 92.94 kB / 1.357 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3948, allocations: 0 / 1.357 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3949, allocations: 11.98 kB / 1.357 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3949, allocations: 4 kB / 1.357 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.395, allocations: 3.984 kB / 1.357 GB, free: 15.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.227e-05/0.395, allocations: 98.14 kB / 1.357 GB, free: 15.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.395, allocations: 0 / 1.357 GB, free: 15.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002698/0.3953, allocations: 20 kB / 1.357 GB, free: 15.75 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.0007496/0.396, allocations: 0.7629 MB / 1.358 GB, free: 14.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.3963, allocations: 76.33 kB / 1.358 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3963, allocations: 0 / 1.358 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.3964, allocations: 40.06 kB / 1.358 GB, free: 14.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.3967, allocations: 12 kB / 1.358 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.3986, allocations: 1.52 MB / 1.36 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.399, allocations: 0.6961 MB / 1.36 GB, free: 12.5 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.98e-05/0.399, allocations: 16.02 kB / 1.36 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.3991, allocations: 23.44 kB / 1.36 GB, free: 12.46 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.3991, allocations: 0 / 1.36 GB, free: 12.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.4254, allocations: 2.332 MB / 1.363 GB, free: 10.28 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.458, allocations: 11.84 kB / 1.363 GB, free: 10.27 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.460618813987821]