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.008293/0.008293, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.00189/0.00189, allocations: 188.6 kB / 16.67 MB, free: 5.926 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.285/2.285, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.695, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002797/0.6978, allocations: 1.607 MB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003631/0.7015, allocations: 3.256 MB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.7016, allocations: 7.938 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.7017, allocations: 3.938 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.87e-05/0.7017, allocations: 11.86 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.7023, allocations: 123.5 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.7024, allocations: 83.69 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.7025, allocations: 16.12 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.7026, allocations: 35.84 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.754e-05/0.7027, allocations: 39.83 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.7027, allocations: 8 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003011/0.703, allocations: 107.8 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.7031, allocations: 15.92 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.7031, allocations: 31.84 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.7034, allocations: 115.3 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.7034, allocations: 4 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7034, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.7034, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 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.0005205/0.7039, allocations: 391.1 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.704, allocations: 12.92 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.704, allocations: 38.69 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.7041, allocations: 8.891 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.7042, allocations: 180.2 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.7042, allocations: 4.375 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.7042, allocations: 8.125 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.7044, allocations: 77.64 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.7044, allocations: 0 / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.7045, allocations: 8 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.7045, allocations: 4 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.7047, allocations: 71.94 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.7051, allocations: 324.7 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.7054, allocations: 98.47 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.7055, allocations: 44.84 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007549/0.7063, allocations: 0.7489 MB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.7063, allocations: 38.56 kB / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.7063, allocations: 0 / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0003792/0.7067, allocations: 141.8 kB / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.7067, allocations: 55.39 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.7068, allocations: 117.8 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.7068, allocations: 25.7 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.7069, allocations: 92.03 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.7069, allocations: 35.78 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.707, allocations: 25.7 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.7071, allocations: 314.8 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.7072, allocations: 31.97 kB / 1.174 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.694e-05/0.7073, allocations: 49.58 kB / 1.174 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.7074, allocations: 81.98 kB / 1.174 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7075, allocations: 0 / 1.174 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002268/0.7077, allocations: 113.5 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.7077, allocations: 4 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7077, allocations: 0 / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7077, allocations: 7.938 kB / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.7079, allocations: 15.98 kB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.7079, allocations: 4.031 kB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/0.708, allocations: 19.92 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.708, allocations: 0 / 1.175 GB, free: 10.79 MB / 0.9044 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.637e-05/0.7081, allocations: 113.8 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.7081, allocations: 7.953 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.7084, allocations: 125.9 kB / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.7084, allocations: 7.984 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7084, allocations: 0 / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7084, allocations: 3.938 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.7086, allocations: 193.6 kB / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7086, allocations: 0 / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.7087, allocations: 15.98 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.7087, allocations: 0 / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.7087, allocations: 7.938 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7087, allocations: 0 / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.7088, allocations: 3.984 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.709, allocations: 207.4 kB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.7091, allocations: 89 kB / 1.175 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.7091, allocations: 4.125 kB / 1.175 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-05/0.7092, allocations: 4 kB / 1.175 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.7092, allocations: 15.92 kB / 1.175 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.7092, allocations: 0 / 1.175 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.7093, allocations: 95.27 kB / 1.175 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7093, allocations: 0 / 1.175 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002576/0.7096, allocations: 24 kB / 1.175 GB, free: 9.785 MB / 0.9044 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.0005685/0.7101, allocations: 0.7514 MB / 1.176 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.7104, allocations: 83.89 kB / 1.176 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7104, allocations: 0 / 1.176 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.47e-05/0.7105, allocations: 44.38 kB / 1.176 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.7108, allocations: 4 kB / 1.176 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.7113, allocations: 258.3 kB / 1.177 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.7116, allocations: 0.6929 MB / 1.177 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.843e-05/0.7116, allocations: 11.98 kB / 1.177 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.7117, allocations: 27.42 kB / 1.177 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/0.7117, allocations: 0 / 1.177 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.7299, allocations: 2.255 MB / 1.179 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.754, allocations: 4.031 kB / 1.179 GB, free: 5.715 MB / 0.9044 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