Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002138/0.002138, allocations: 103.3 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.002725/0.002725, 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7672 GB, free: 5.324 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_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.002163/0.002163, allocations: 71.89 kB / 1.112 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8133, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003234/0.8165, allocations: 1.632 MB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004442/0.821, allocations: 3.376 MB / 1.283 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.821, allocations: 3.938 kB / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.8211, allocations: 7.875 kB / 1.283 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.8212, allocations: 19.86 kB / 1.283 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.8217, allocations: 135.5 kB / 1.283 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.8219, allocations: 79.7 kB / 1.283 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.767e-05/0.822, allocations: 15.97 kB / 1.283 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.8221, allocations: 47.78 kB / 1.283 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.8222, allocations: 43.83 kB / 1.284 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.8222, allocations: 4 kB / 1.284 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.8225, allocations: 111.8 kB / 1.284 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.8226, allocations: 19.97 kB / 1.284 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.8226, allocations: 31.8 kB / 1.284 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.8229, allocations: 125.4 kB / 1.284 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8229, allocations: 7.938 kB / 1.284 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8229, allocations: 0 / 1.284 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.8229, allocations: 0 / 1.284 GB, free: 7.707 MB / 0.9825 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.0006083/0.8235, allocations: 395 kB / 1.284 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8236, allocations: 8.031 kB / 1.284 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.8236, allocations: 42.73 kB / 1.284 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.8238, allocations: 20.88 kB / 1.284 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.8241, allocations: 200.1 kB / 1.284 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.8241, allocations: 4.375 kB / 1.284 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.8241, allocations: 8.375 kB / 1.284 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.8243, allocations: 85.58 kB / 1.285 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.8243, allocations: 0 / 1.285 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.8243, allocations: 0 / 1.285 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.8243, allocations: 0 / 1.285 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.8245, allocations: 75.94 kB / 1.285 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.825, allocations: 336.6 kB / 1.285 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.8253, allocations: 78.55 kB / 1.285 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.8254, allocations: 48.81 kB / 1.285 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008722/0.8263, allocations: 0.7527 MB / 1.286 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.8263, allocations: 34.78 kB / 1.286 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.8263, allocations: 0 / 1.286 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004049/0.8267, allocations: 137.5 kB / 1.286 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.8267, allocations: 59.41 kB / 1.286 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.8269, allocations: 123 kB / 1.286 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.8269, allocations: 25.7 kB / 1.286 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.8269, allocations: 100.1 kB / 1.286 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.827, allocations: 23.75 kB / 1.286 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.827, allocations: 25.7 kB / 1.286 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.8271, allocations: 318.8 kB / 1.287 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.399e-05/0.8272, allocations: 31.97 kB / 1.287 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.8273, allocations: 45.64 kB / 1.287 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.8275, allocations: 73.69 kB / 1.287 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8275, allocations: 4 kB / 1.287 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002607/0.8278, allocations: 117.5 kB / 1.287 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.8278, allocations: 8 kB / 1.287 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.8278, allocations: 0 / 1.287 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8278, allocations: 3.938 kB / 1.287 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.828, allocations: 19.98 kB / 1.287 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.828, allocations: 0 / 1.287 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.8281, allocations: 7.984 kB / 1.287 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.8281, allocations: 4.297 kB / 1.287 GB, free: 4.18 MB / 0.9825 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.329e-05/0.8282, allocations: 121.8 kB / 1.287 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.8282, allocations: 15.89 kB / 1.287 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.8285, allocations: 126.3 kB / 1.287 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.8285, allocations: 7.938 kB / 1.287 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8285, allocations: 4 kB / 1.287 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.8285, allocations: 0 / 1.287 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.8288, allocations: 189.6 kB / 1.287 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8288, allocations: 0 / 1.287 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.8289, allocations: 19.98 kB / 1.287 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.8289, allocations: 0 / 1.287 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.8289, allocations: 7.922 kB / 1.287 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.8289, allocations: 7.938 kB / 1.287 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8289, allocations: 0 / 1.287 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.8292, allocations: 203.5 kB / 1.288 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.8293, allocations: 85.06 kB / 1.288 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.8293, allocations: 4 kB / 1.288 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.8294, allocations: 11.92 kB / 1.288 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.8294, allocations: 0 / 1.288 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.8294, allocations: 8 kB / 1.288 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.954e-05/0.8295, allocations: 100.9 kB / 1.288 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8295, allocations: 0 / 1.288 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002766/0.8298, allocations: 27.92 kB / 1.288 GB, free: 3.156 MB / 0.9825 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.0007173/0.8305, allocations: 0.7558 MB / 1.289 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.8308, allocations: 71.89 kB / 1.289 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8308, allocations: 4.062 kB / 1.289 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.963e-05/0.8309, allocations: 35.98 kB / 1.289 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.8311, allocations: 14 kB / 1.289 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.833, allocations: 1.536 MB / 1.29 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.8333, allocations: 0.6924 MB / 1.291 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.981e-05/0.8334, allocations: 7.984 kB / 1.291 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.8335, allocations: 23.44 kB / 1.291 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.8335, allocations: 0 / 1.291 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.8593, allocations: 2.325 MB / 1.293 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/9.116, allocations: 8.031 kB / 1.293 GB, free: 13.69 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv. Warning: Get data of variable rayleighNumber.Ra from file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.355285444995388]