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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001653/0.001653, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002161/0.002161, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.702/2.702, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 75.88 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5843/0.5865, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002579/0.5891, allocations: 1.668 MB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003275/0.5924, allocations: 3.233 MB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.5924, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.5925, allocations: 3.938 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.5926, allocations: 15.84 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.593, allocations: 111.6 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.176e-05/0.5931, allocations: 75.72 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.66e-05/0.5931, allocations: 4.188 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.5932, allocations: 35.91 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/0.5933, allocations: 35.83 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.5934, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.5936, allocations: 99.78 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.5936, allocations: 19.91 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.5937, allocations: 27.86 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.5939, allocations: 117.9 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.5939, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5939, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.5939, allocations: 0 / 1.022 GB, free: 13.32 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.0005531/0.5945, allocations: 383.2 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.5945, allocations: 19.97 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.5946, allocations: 34.75 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.5946, allocations: 8.844 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.5948, allocations: 180.2 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.5948, allocations: 4.375 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.5948, allocations: 4.125 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.595, allocations: 81.59 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.595, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.595, allocations: 4 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.595, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.5952, allocations: 71.94 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.5957, allocations: 324.7 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.596, allocations: 94.47 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.5961, allocations: 44.95 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008004/0.5969, allocations: 0.7604 MB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.5969, allocations: 38.56 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.5969, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003705/0.5973, allocations: 141.9 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.5973, allocations: 51.41 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.5974, allocations: 117.8 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.5975, allocations: 25.7 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.5975, allocations: 100.1 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.5976, allocations: 27.56 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.5976, allocations: 29.64 kB / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5977, allocations: 314.8 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.894e-05/0.5978, allocations: 31.97 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.5979, allocations: 45.7 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.5981, allocations: 81.62 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5981, allocations: 0 / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002272/0.5983, allocations: 113.5 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5984, allocations: 4 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.5984, allocations: 0 / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.5984, allocations: 7.938 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.5985, allocations: 23.95 kB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5986, allocations: 0 / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.5986, allocations: 11.98 kB / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.5987, allocations: 0 / 1.025 GB, free: 9.824 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 7.642e-05/0.5987, allocations: 118.3 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.5988, allocations: 7.906 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.5991, allocations: 133.9 kB / 1.025 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.5991, allocations: 4 kB / 1.025 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5991, allocations: 3.938 kB / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.5991, allocations: 0 / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.5993, allocations: 185.6 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5993, allocations: 0 / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.5994, allocations: 15.98 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5994, allocations: 0 / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.5994, allocations: 11.92 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5995, allocations: 0 / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5995, allocations: 4.188 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.5997, allocations: 203.3 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.5998, allocations: 88.95 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.5998, allocations: 7.938 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.5999, allocations: 7.984 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.5999, allocations: 4 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.6, allocations: 4 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.347e-05/0.6, allocations: 91.27 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.6, allocations: 0 / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002536/0.6003, allocations: 28 kB / 1.026 GB, free: 8.824 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.0005877/0.6009, allocations: 0.7526 MB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.6011, allocations: 88.2 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6011, allocations: 0 / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.672e-05/0.6012, allocations: 47.91 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.6015, allocations: 0 / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.6021, allocations: 273.3 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.6023, allocations: 0.6848 MB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.288e-05/0.6024, allocations: 11.98 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.6024, allocations: 19.44 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6025, allocations: 3.938 kB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3347/0.9372, allocations: 2.051 MB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/0.9375, allocations: 213.4 kB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.836, allocations: 4.469 kB / 1.03 GB, free: 4.699 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