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.001138/0.001138, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.256/2.256, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 71.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5911/0.5924, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002447/0.5949, allocations: 1.598 MB / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.5978, allocations: 3.26 MB / 0.9545 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.5979, allocations: 0 / 0.9545 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.598, allocations: 3.938 kB / 0.9545 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.916e-05/0.598, allocations: 18.56 kB / 0.9545 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.5985, allocations: 120.6 kB / 0.9546 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.493e-05/0.5986, allocations: 76.31 kB / 0.9547 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.5987, allocations: 11.16 kB / 0.9547 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.5988, allocations: 38.66 kB / 0.9547 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.822e-05/0.5989, allocations: 40.67 kB / 0.9548 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.5989, allocations: 5.562 kB / 0.9548 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.5991, allocations: 99.91 kB / 0.9549 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.5992, allocations: 21.22 kB / 0.9549 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.5992, allocations: 32.05 kB / 0.9549 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.5994, allocations: 122.9 kB / 0.955 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5995, allocations: 0 / 0.955 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5995, allocations: 0 / 0.955 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.5995, allocations: 0 / 0.955 GB, free: 4.906 MB / 0.7169 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.0005076/0.6, allocations: 393.9 kB / 0.9554 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6, allocations: 9.312 kB / 0.9554 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.6001, allocations: 36.97 kB / 0.9555 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.6001, allocations: 15.5 kB / 0.9555 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/0.6002, allocations: 168.6 kB / 0.9556 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.6002, allocations: 14.11 kB / 0.9556 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.6002, allocations: 3.219 kB / 0.9556 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.6004, allocations: 77.53 kB / 0.9557 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.6004, allocations: 0 / 0.9557 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.6005, allocations: 5.031 kB / 0.9557 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6005, allocations: 1.375 kB / 0.9557 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.6007, allocations: 85.61 kB / 0.9558 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.6011, allocations: 322.3 kB / 0.9561 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.6013, allocations: 93.91 kB / 0.9562 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.481e-05/0.6014, allocations: 46.19 kB / 0.9562 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/0.602, allocations: 0.7542 MB / 0.957 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.602, allocations: 39.53 kB / 0.957 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.602, allocations: 4 kB / 0.957 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003613/0.6024, allocations: 137.4 kB / 0.9572 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.6024, allocations: 53.39 kB / 0.9572 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.6025, allocations: 120.5 kB / 0.9573 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.6025, allocations: 25.7 kB / 0.9573 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.6025, allocations: 94.81 kB / 0.9574 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.6026, allocations: 27.69 kB / 0.9575 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.6026, allocations: 27.39 kB / 0.9575 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.6027, allocations: 322.8 kB / 0.9578 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.883e-05/0.6027, allocations: 31.94 kB / 0.9578 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.6028, allocations: 38.33 kB / 0.9579 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.603, allocations: 81.38 kB / 0.9579 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.603, allocations: 1.25 kB / 0.9579 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002102/0.6032, allocations: 104.6 kB / 0.958 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.6032, allocations: 9.656 kB / 0.9581 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6032, allocations: 0 / 0.9581 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.6033, allocations: 1.906 kB / 0.9581 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.6034, allocations: 21.33 kB / 0.9581 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.6034, allocations: 1.906 kB / 0.9581 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.6035, allocations: 16.05 kB / 0.9581 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.6035, allocations: 6.062 kB / 0.9581 GB, free: 1.906 MB / 0.7169 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 5.386e-05/0.6036, allocations: 121.7 kB / 0.9582 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.6036, allocations: 11.38 kB / 0.9582 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.6039, allocations: 124.3 kB / 0.9583 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6039, allocations: 4 kB / 0.9583 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6039, allocations: 1 kB / 0.9583 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6039, allocations: 0 / 0.9583 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.604, allocations: 181.9 kB / 0.9585 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.604, allocations: 0 / 0.9585 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.6042, allocations: 21.64 kB / 0.9585 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.6042, allocations: 7.938 kB / 0.9586 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.6042, allocations: 9.641 kB / 0.9586 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.6042, allocations: 0 / 0.9586 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6042, allocations: 0 / 0.9586 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.6044, allocations: 209 kB / 0.9588 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.6045, allocations: 87.83 kB / 0.9588 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.6045, allocations: 0 / 0.9588 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.6046, allocations: 11.58 kB / 0.9589 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.6046, allocations: 3.562 kB / 0.9589 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.6046, allocations: 1.906 kB / 0.9589 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.958e-05/0.6047, allocations: 96.83 kB / 0.959 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6047, allocations: 0 / 0.959 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002452/0.6049, allocations: 21.97 kB / 0.959 GB, free: 1.074 MB / 0.7169 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.0004511/0.6054, allocations: 0.7574 MB / 0.9597 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.6056, allocations: 85.31 kB / 0.9598 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6056, allocations: 0 / 0.9598 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.046e-05/0.6057, allocations: 47.28 kB / 0.9598 GB, free: 308 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.606, allocations: 7.547 kB / 0.9598 GB, free: 308 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.6065, allocations: 257.8 kB / 0.9601 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.6068, allocations: 0.6849 MB / 0.9608 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.361e-05/0.6068, allocations: 16.09 kB / 0.9608 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.6069, allocations: 18.19 kB / 0.9608 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.6069, allocations: 1.375 kB / 0.9608 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.6233, allocations: 2.207 MB / 0.9629 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.63, allocations: 24.36 kB / 0.963 GB, free: 14.17 MB / 0.7325 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