Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_10_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.001614/0.001614, allocations: 108 kB / 15.6 MB, free: 132 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.001859/0.001859, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 437.1 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 67.89 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5185/0.5199, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002957/0.5229, allocations: 1.609 MB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004067/0.527, allocations: 3.252 MB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.5271, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.5271, allocations: 3.938 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.5272, allocations: 19.84 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.5277, allocations: 111.5 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.5278, allocations: 83.7 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.5279, allocations: 16.17 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.528, allocations: 39.84 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.437e-05/0.5281, allocations: 39.83 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.5282, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.5285, allocations: 107.8 kB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.5285, allocations: 15.92 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.5286, allocations: 31.86 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.5288, allocations: 122 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5288, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5288, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.5289, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 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.0006179/0.5295, allocations: 391.2 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5295, allocations: 11.97 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.5296, allocations: 42.73 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.5296, allocations: 4.844 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.5298, allocations: 176.2 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.5298, allocations: 8.312 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.5298, allocations: 8.125 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.53, allocations: 81.64 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.5301, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5301, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.5301, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.5303, allocations: 79.88 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.5308, allocations: 324.7 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.531, allocations: 86.55 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.5311, allocations: 45.12 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007933/0.5319, allocations: 0.7681 MB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.532, allocations: 30.56 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.532, allocations: 0 / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003931/0.5324, allocations: 137.8 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.5324, allocations: 51.41 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.5325, allocations: 126.2 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.5325, allocations: 25.7 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.5326, allocations: 96.05 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.5326, allocations: 27.55 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.5327, allocations: 21.72 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.5328, allocations: 322.8 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.9e-05/0.5329, allocations: 27.98 kB / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.992e-05/0.533, allocations: 45.69 kB / 1.026 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.5331, allocations: 77.75 kB / 1.026 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5332, allocations: 0 / 1.026 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000236/0.5334, allocations: 113.6 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.5334, allocations: 10.03 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5334, allocations: 0 / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.5335, allocations: 3.938 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.5336, allocations: 23.92 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5336, allocations: 0 / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.724e-05/0.5337, allocations: 11.89 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.5337, allocations: 4 kB / 1.026 GB, free: 9.527 MB / 0.7794 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.433e-05/0.5338, allocations: 118 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.5338, allocations: 7.906 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.5341, allocations: 129.9 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.5342, allocations: 3.984 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5342, allocations: 3.938 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5342, allocations: 7.938 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.5344, allocations: 185.6 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5344, allocations: 0 / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.5345, allocations: 23.98 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5345, allocations: 0 / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5345, allocations: 3.938 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5345, allocations: 0 / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5345, allocations: 0 / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.5348, allocations: 215.4 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.5348, allocations: 81.02 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.5349, allocations: 7.938 kB / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.535, allocations: 4 kB / 1.027 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.535, allocations: 11.92 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.535, allocations: 0 / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.101e-05/0.5351, allocations: 99.31 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.5351, allocations: 0 / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002654/0.5354, allocations: 24 kB / 1.027 GB, free: 8.52 MB / 0.7794 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.0005902/0.536, allocations: 0.7552 MB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.5362, allocations: 92.12 kB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5362, allocations: 0 / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.5363, allocations: 44.06 kB / 1.028 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.5367, allocations: 8.156 kB / 1.028 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.5372, allocations: 255.5 kB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.5375, allocations: 0.6923 MB / 1.028 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.213e-05/0.5375, allocations: 11.94 kB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.5376, allocations: 23.42 kB / 1.029 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5376, allocations: 3.938 kB / 1.029 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.5582, allocations: 2.209 MB / 1.031 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.747, allocations: 5.672 kB / 1.031 GB, free: 4.461 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches