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.007678/0.007678, allocations: 97.75 kB / 15.73 MB, free: 5.949 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.001639/0.001639, allocations: 193.8 kB / 16.67 MB, free: 5.871 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.304/2.304, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7907/0.792, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00302/0.7951, allocations: 1.621 MB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003795/0.7989, allocations: 3.248 MB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.799, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.121e-05/0.7991, allocations: 7.922 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.878e-05/0.7992, allocations: 11.88 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.7997, allocations: 127.5 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.7998, allocations: 83.7 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.7999, allocations: 12.16 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.8001, allocations: 35.86 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.934e-05/0.8002, allocations: 39.83 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.8002, allocations: 8 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.8005, allocations: 111.8 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.8005, allocations: 11.94 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.8006, allocations: 27.86 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.8009, allocations: 131.2 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8009, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8009, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.8009, allocations: 0 / 1.172 GB, free: 14.27 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.0005742/0.8015, allocations: 391.1 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.8015, allocations: 12.92 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.8016, allocations: 38.73 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.8016, allocations: 8.891 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.8017, allocations: 176.3 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.8018, allocations: 384 / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.8018, allocations: 8.125 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.802, allocations: 81.64 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.802, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.802, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.802, allocations: 4 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.8022, allocations: 79.88 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.8027, allocations: 332.6 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.803, allocations: 86.55 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.8031, allocations: 48.83 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008126/0.8039, allocations: 0.7528 MB / 1.173 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.8039, allocations: 34.56 kB / 1.173 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.8039, allocations: 4 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0003893/0.8043, allocations: 133.5 kB / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.8044, allocations: 55.41 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.8045, allocations: 117.8 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.8045, allocations: 25.7 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.8046, allocations: 96.03 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.8046, allocations: 27.8 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.8046, allocations: 25.72 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.8047, allocations: 318.8 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.8048, allocations: 32.02 kB / 1.174 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.019e-05/0.8049, allocations: 45.69 kB / 1.174 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.8051, allocations: 85.67 kB / 1.174 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8051, allocations: 192 / 1.174 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002319/0.8054, allocations: 113.7 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8054, allocations: 11.88 kB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8054, allocations: 0 / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.8054, allocations: 3.938 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.8056, allocations: 19.98 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.8056, allocations: 400 / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.066e-05/0.8057, allocations: 19.95 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.8057, allocations: 4 kB / 1.175 GB, free: 10.76 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 8.614e-05/0.8058, allocations: 117.8 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.8058, allocations: 7.953 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.8061, allocations: 121.9 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.8061, allocations: 0 / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8061, allocations: 8 kB / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.8061, allocations: 3.984 kB / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.8063, allocations: 185.6 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8063, allocations: 0 / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.8065, allocations: 23.92 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.8065, allocations: 0 / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.8065, allocations: 3.938 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.8065, allocations: 4 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8065, allocations: 3.984 kB / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.8068, allocations: 199.5 kB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.8068, allocations: 88.98 kB / 1.175 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.8069, allocations: 7.938 kB / 1.175 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.807, allocations: 8 kB / 1.175 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.807, allocations: 3.984 kB / 1.175 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.807, allocations: 4 kB / 1.175 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.043e-05/0.8071, allocations: 91.27 kB / 1.175 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8071, allocations: 4 kB / 1.175 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002551/0.8074, allocations: 20 kB / 1.175 GB, free: 9.77 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.0006502/0.808, allocations: 0.763 MB / 1.176 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.8083, allocations: 83.77 kB / 1.176 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8083, allocations: 0 / 1.176 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.508e-05/0.8084, allocations: 43.97 kB / 1.176 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.8087, allocations: 4.766 kB / 1.176 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.8093, allocations: 259.4 kB / 1.177 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.8095, allocations: 0.6885 MB / 1.177 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.633e-05/0.8096, allocations: 4 kB / 1.177 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.8097, allocations: 27.42 kB / 1.177 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of SimCode: time 1.022e-06/0.8097, allocations: 0 / 1.177 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.8277, allocations: 2.256 MB / 1.179 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.082/7.91, allocations: 10.48 kB / 1.179 GB, free: 5.691 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