Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001776/0.001776, 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.002593/0.002593, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.431/1.431, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.132/3.132, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_12_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.002008/0.002008, allocations: 64.48 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3483, allocations: 176.1 MB / 1.325 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003796/0.3521, allocations: 1.618 MB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005166/0.3573, allocations: 3.129 MB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.3574, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.512e-05/0.3574, allocations: 11.86 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.543e-05/0.3575, allocations: 15.86 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.3582, allocations: 139.4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3584, allocations: 83.7 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.3585, allocations: 8.281 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.3586, allocations: 51.77 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.744e-05/0.3587, allocations: 35.84 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3587, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.359, allocations: 95.72 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.3591, allocations: 15.98 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.3591, allocations: 31.86 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.3594, allocations: 135.5 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3594, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3594, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.3594, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 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.0007591/0.3602, allocations: 317.9 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3602, allocations: 12.03 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.3603, allocations: 38.73 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.3605, allocations: 24.88 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.3608, allocations: 138.3 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3608, allocations: 384 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.3608, allocations: 8.375 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.3611, allocations: 85.47 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3611, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3611, allocations: 3.984 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3611, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.3613, allocations: 67.95 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.3618, allocations: 299.8 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.3621, allocations: 78.53 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3622, allocations: 40.84 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006876/0.3629, allocations: 356.3 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.3629, allocations: 30.56 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.103e-06/0.3629, allocations: 288 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004368/0.3633, allocations: 137.5 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3634, allocations: 51.41 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3635, allocations: 130.8 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.3635, allocations: 25.7 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.3636, allocations: 96.06 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.3636, allocations: 27.75 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.3637, allocations: 25.7 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3639, allocations: 318.8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.364, allocations: 31.98 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.3641, allocations: 49.67 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.3643, allocations: 77.62 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3643, allocations: 4 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002478/0.3645, allocations: 113.5 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3645, allocations: 8 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3645, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3646, allocations: 3.938 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.3647, allocations: 19.98 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3647, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.3648, allocations: 11.95 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3648, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 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.0001123/0.3649, allocations: 125 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.3649, allocations: 7.953 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.3652, allocations: 121.9 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3653, allocations: 7.938 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3653, allocations: 0 / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3653, allocations: 0 / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.3655, allocations: 152.7 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3655, allocations: 0 / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3656, allocations: 23.98 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3656, allocations: 4 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3656, allocations: 0 / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3656, allocations: 3.938 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3656, allocations: 0 / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.3659, allocations: 219.8 kB / 1.333 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.3659, allocations: 7.891 kB / 1.333 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.366, allocations: 4 kB / 1.333 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.366, allocations: 3.938 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.3661, allocations: 15.98 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.3661, allocations: 4 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.819e-05/0.3662, allocations: 93.83 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3662, allocations: 0 / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002579/0.3664, allocations: 27.94 kB / 1.334 GB, free: 9.25 MB / 1.029 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.0007885/0.3672, allocations: 0.7592 MB / 1.334 GB, free: 8.465 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.3675, allocations: 71.95 kB / 1.334 GB, free: 8.395 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3675, allocations: 0 / 1.334 GB, free: 8.395 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.75e-05/0.3676, allocations: 39.91 kB / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.3679, allocations: 11.94 kB / 1.334 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3697, allocations: 1.528 MB / 1.336 GB, free: 6.727 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.773e-05/0.3698, allocations: 75.19 kB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.797e-05/0.3699, allocations: 8 kB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.3699, allocations: 27.36 kB / 1.336 GB, free: 6.598 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.3699, allocations: 0 / 1.336 GB, free: 6.598 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.4022, allocations: 2.843 MB / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.44, allocations: 13.95 kB / 1.339 GB, free: 3.883 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv. Warning: Get data of variable rayleighNumber.Ra from file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.018563170917332]