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.005529/0.005529, allocations: 102.6 kB / 15.73 MB, free: 5.984 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.001215/0.001215, allocations: 198.6 kB / 16.68 MB, free: 5.91 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.165/2.165, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 71.88 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7544, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002506/0.757, allocations: 1.613 MB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003667/0.7607, allocations: 3.259 MB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.7607, allocations: 0.75 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.7608, allocations: 5.344 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.7609, allocations: 16.28 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.7614, allocations: 120.5 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.7615, allocations: 78.03 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.7616, allocations: 8 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.7617, allocations: 48.97 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.7618, allocations: 32.88 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.7618, allocations: 13.41 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.7621, allocations: 99.48 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.7621, allocations: 14.05 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.7622, allocations: 34.8 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.7624, allocations: 125.6 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7624, allocations: 0 / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7624, allocations: 3.938 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7624, allocations: 0.9375 kB / 1.093 GB, free: 1.508 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.0005096/0.763, allocations: 387.6 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.763, allocations: 9.375 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.7631, allocations: 37.78 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.7631, allocations: 8.453 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.402e-05/0.7632, allocations: 177.6 kB / 1.093 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.7632, allocations: 1.625 kB / 1.093 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.7632, allocations: 3.406 kB / 1.093 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.7635, allocations: 84.58 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.7635, allocations: 7.984 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.7635, allocations: 0.8438 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.7635, allocations: 4.969 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.7637, allocations: 72.5 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.7642, allocations: 322.8 kB / 1.094 GB, free: 500 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.7644, allocations: 92.17 kB / 1.094 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.7645, allocations: 47.92 kB / 1.094 GB, free: 424 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007325/0.7653, allocations: 0.7561 MB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.7653, allocations: 40.11 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.7653, allocations: 0 / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0004238/0.7657, allocations: 133.4 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.7658, allocations: 57.11 kB / 1.095 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.7659, allocations: 118.4 kB / 1.095 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.7659, allocations: 33.58 kB / 1.095 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.766, allocations: 96.75 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.766, allocations: 29.06 kB / 1.095 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.7661, allocations: 21.56 kB / 1.095 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7662, allocations: 319.3 kB / 1.096 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.613e-05/0.7663, allocations: 25.81 kB / 1.096 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.7664, allocations: 46.56 kB / 1.096 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.7667, allocations: 81.47 kB / 1.096 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7667, allocations: 1.453 kB / 1.096 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002673/0.7669, allocations: 111.7 kB / 1.096 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.767, allocations: 5.703 kB / 1.096 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.767, allocations: 0.625 kB / 1.096 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.767, allocations: 0.6875 kB / 1.096 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.7672, allocations: 27.66 kB / 1.096 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.7672, allocations: 0.9062 kB / 1.096 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.568e-05/0.7673, allocations: 6.672 kB / 1.096 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.7673, allocations: 2.062 kB / 1.096 GB, free: 14.71 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 0.0001009/0.7674, allocations: 118.2 kB / 1.096 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.7674, allocations: 12.06 kB / 1.096 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.7678, allocations: 129.7 kB / 1.096 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.7678, allocations: 2.062 kB / 1.096 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7678, allocations: 0 / 1.096 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.7678, allocations: 1.219 kB / 1.096 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.768, allocations: 191 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7681, allocations: 0 / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.7682, allocations: 21.97 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7682, allocations: 192 / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.7682, allocations: 1.797 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7682, allocations: 9.031 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7682, allocations: 0 / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.7685, allocations: 205.9 kB / 1.097 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.7686, allocations: 87.66 kB / 1.097 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.7686, allocations: 9.438 kB / 1.097 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.7687, allocations: 9.219 kB / 1.097 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.7688, allocations: 5.219 kB / 1.097 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.7688, allocations: 6.719 kB / 1.097 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.7689, allocations: 91.77 kB / 1.097 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7689, allocations: 0.9062 kB / 1.097 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002722/0.7691, allocations: 21.75 kB / 1.097 GB, free: 13.93 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.0006649/0.7698, allocations: 0.757 MB / 1.097 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.7701, allocations: 80.69 kB / 1.098 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7701, allocations: 0.7812 kB / 1.098 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.7702, allocations: 45.06 kB / 1.098 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.7705, allocations: 12.61 kB / 1.098 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.7712, allocations: 239.8 kB / 1.098 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.7714, allocations: 0.6895 MB / 1.099 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.421e-05/0.7715, allocations: 15.75 kB / 1.099 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.7715, allocations: 22.94 kB / 1.099 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/0.7715, allocations: 0.8438 kB / 1.099 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04007/0.8116, allocations: 2.259 MB / 1.101 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/8.186, allocations: 11.59 kB / 1.101 GB, free: 11.82 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