Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007171/0.007171, allocations: 102.1 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 189.6 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.099/2.099, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7112, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002567/0.7138, allocations: 1.615 MB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003301/0.7172, allocations: 3.257 MB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.7173, allocations: 0.6875 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.7174, allocations: 9.188 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.7174, allocations: 12.25 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.718, allocations: 125.7 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.7181, allocations: 73.83 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.7182, allocations: 16.91 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.7184, allocations: 44.19 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.7185, allocations: 33.25 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.7185, allocations: 9.875 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.7188, allocations: 102.9 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.7189, allocations: 18.33 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.7189, allocations: 30.91 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.7192, allocations: 122 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.7192, allocations: 0.8125 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7192, allocations: 0 / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.7192, allocations: 0.75 kB / 1.093 GB, free: 1.535 MB / 0.8575 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.0005406/0.7198, allocations: 391.1 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.7198, allocations: 9.281 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.7199, allocations: 38.14 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.7199, allocations: 8.516 kB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.298e-05/0.72, allocations: 174.3 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.72, allocations: 5.875 kB / 1.093 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.72, allocations: 6.5 kB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.7202, allocations: 83.12 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7203, allocations: 1.031 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.7203, allocations: 0.7969 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.7203, allocations: 6.031 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.7205, allocations: 80.48 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.7209, allocations: 329.9 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.7212, allocations: 96.3 kB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.7213, allocations: 47.41 kB / 1.094 GB, free: 432 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007293/0.722, allocations: 0.7484 MB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.7221, allocations: 39.95 kB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.7221, allocations: 0.875 kB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0004318/0.7225, allocations: 137.7 kB / 1.095 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.7226, allocations: 52.25 kB / 1.095 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.7227, allocations: 118.5 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.7227, allocations: 29.64 kB / 1.095 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.7228, allocations: 96.78 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.7228, allocations: 30.44 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.7228, allocations: 21.41 kB / 1.095 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.723, allocations: 318.5 kB / 1.096 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.7231, allocations: 30.14 kB / 1.096 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.7232, allocations: 42.34 kB / 1.096 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.7234, allocations: 85.73 kB / 1.096 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7234, allocations: 0.8438 kB / 1.096 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002672/0.7237, allocations: 116.3 kB / 1.096 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.7237, allocations: 5.344 kB / 1.096 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.7237, allocations: 0.6562 kB / 1.096 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7237, allocations: 1.406 kB / 1.096 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.7239, allocations: 18.77 kB / 1.096 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.7239, allocations: 4.781 kB / 1.096 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.724, allocations: 14.02 kB / 1.096 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.724, allocations: 2.75 kB / 1.096 GB, free: 14.72 MB / 0.8731 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.805e-05/0.7241, allocations: 114.3 kB / 1.096 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.7242, allocations: 11.86 kB / 1.096 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.7245, allocations: 126.3 kB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.7245, allocations: 1.469 kB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7245, allocations: 4 kB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.7245, allocations: 1.297 kB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.7247, allocations: 194.9 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7248, allocations: 0.7969 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.7249, allocations: 20.55 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7249, allocations: 1.188 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.7249, allocations: 1.5 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7249, allocations: 0.75 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7249, allocations: 5.344 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.7252, allocations: 201 kB / 1.097 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.7253, allocations: 91.42 kB / 1.097 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.7253, allocations: 5.891 kB / 1.097 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.7254, allocations: 4.922 kB / 1.097 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.7255, allocations: 9.547 kB / 1.097 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.7255, allocations: 6.703 kB / 1.097 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.7255, allocations: 92.11 kB / 1.097 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7255, allocations: 0 / 1.097 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002779/0.7258, allocations: 21.86 kB / 1.097 GB, free: 13.94 MB / 0.8731 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.0006844/0.7265, allocations: 0.7613 MB / 1.098 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.7268, allocations: 76.3 kB / 1.098 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7268, allocations: 0.6875 kB / 1.098 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.7269, allocations: 42.77 kB / 1.098 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.7273, allocations: 7.734 kB / 1.098 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.7279, allocations: 248.2 kB / 1.098 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.7281, allocations: 0.688 MB / 1.099 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.934e-05/0.7282, allocations: 20.66 kB / 1.099 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.7283, allocations: 25.62 kB / 1.099 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.7283, allocations: 0 / 1.099 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.7471, allocations: 2.244 MB / 1.101 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.137/7.884, allocations: 14.78 kB / 1.101 GB, free: 11.84 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches