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.001674/0.001674, 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.001955/0.001956, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.41/2.41, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 71.88 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5293, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002601/0.5319, allocations: 1.609 MB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003127/0.5351, allocations: 3.26 MB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.5351, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.5352, allocations: 7.922 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.878e-05/0.5352, allocations: 11.88 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.5356, allocations: 119.5 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.67e-05/0.5357, allocations: 79.72 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.864e-05/0.5358, allocations: 12.17 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.5359, allocations: 39.84 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.536, allocations: 35.84 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.536, allocations: 8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.5363, allocations: 111.8 kB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.5363, allocations: 15.92 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.5364, allocations: 27.86 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.5366, allocations: 122 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5366, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5366, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.5366, 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.000501/0.5371, allocations: 391.2 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.5371, allocations: 8.031 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.5372, allocations: 38.75 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.5372, allocations: 8.844 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.5373, allocations: 176.2 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.5373, allocations: 8.312 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.5374, allocations: 8.125 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.5376, allocations: 73.66 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.5376, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.5376, allocations: 11.98 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5376, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.5378, allocations: 75.94 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.5382, allocations: 324.7 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.5384, allocations: 106.5 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.569e-05/0.5386, allocations: 40.84 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007193/0.5393, allocations: 0.7565 MB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.5393, allocations: 30.56 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.5393, allocations: 0 / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003707/0.5397, allocations: 141.8 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.5397, allocations: 51.41 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.5398, allocations: 121.8 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.5398, allocations: 29.7 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.5399, allocations: 92.05 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.5399, allocations: 31.55 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.54, allocations: 17.72 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.54, allocations: 322.8 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.5401, allocations: 27.98 kB / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.759e-05/0.5402, allocations: 41.69 kB / 1.026 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.5404, allocations: 85.62 kB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5404, allocations: 0 / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002211/0.5407, allocations: 109.6 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.5407, allocations: 8 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.5407, allocations: 0 / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.5407, allocations: 7.969 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.5408, allocations: 19.98 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.5408, allocations: 0 / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.5409, allocations: 15.91 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.5409, allocations: 4 kB / 1.026 GB, free: 9.523 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 6.872e-05/0.541, allocations: 118.9 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.5411, allocations: 7.906 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.5413, allocations: 134.3 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5413, allocations: 0 / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5414, allocations: 0 / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5414, allocations: 0 / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.5415, allocations: 193.6 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5415, allocations: 0 / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.5417, allocations: 19.98 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5417, allocations: 0 / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.5417, allocations: 3.938 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5417, allocations: 4.078 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5417, allocations: 3.984 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.5419, allocations: 207.4 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.542, allocations: 81.02 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.542, allocations: 11.92 kB / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.5421, allocations: 0 / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.5421, allocations: 15.98 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.5422, allocations: 4 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.5422, allocations: 91.27 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5422, allocations: 0 / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002439/0.5425, allocations: 24 kB / 1.027 GB, free: 8.523 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.0005375/0.543, allocations: 0.7591 MB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.5432, allocations: 79.83 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5432, allocations: 0 / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/0.5433, allocations: 35.98 kB / 1.028 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.5436, allocations: 18.53 kB / 1.028 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.5441, allocations: 263.3 kB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.5443, allocations: 0.6931 MB / 1.028 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.936e-05/0.5444, allocations: 11.92 kB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.5445, allocations: 23.42 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5445, allocations: 0 / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2317/0.7762, allocations: 2.198 MB / 1.031 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.606/10.38, allocations: 19.33 kB / 1.031 GB, free: 4.465 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 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.mat","/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