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.01062/0.01062, allocations: 98.89 kB / 15.73 MB, free: 6.031 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.002725/0.002725, allocations: 193.9 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.154/2.154, allocations: 222.9 MB / 240.4 MB, free: 15.08 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 3.874/3.874, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 63.91 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537/1.539, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.005379/1.545, allocations: 1.604 MB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007878/1.553, allocations: 3.252 MB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/1.553, allocations: 4 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 6.238e-05/1.553, allocations: 3.938 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/1.553, allocations: 15.86 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009617/1.554, allocations: 115.5 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000256/1.555, allocations: 79.7 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/1.555, allocations: 20.17 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/1.555, allocations: 39.83 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/1.555, allocations: 35.84 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/1.555, allocations: 8 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005885/1.556, allocations: 107.8 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/1.556, allocations: 15.92 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.34e-05/1.556, allocations: 27.86 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005161/1.557, allocations: 123.3 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.557, allocations: 8 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.525e-06/1.557, allocations: 0 / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.735e-06/1.557, allocations: 0 / 1.172 GB, free: 14.26 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.001068/1.558, allocations: 383.1 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.812e-05/1.558, allocations: 16.86 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.833e-05/1.558, allocations: 34.75 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/1.558, allocations: 12.83 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/1.558, allocations: 176.3 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/1.558, allocations: 4.375 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/1.558, allocations: 8.125 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/1.559, allocations: 73.66 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/1.559, allocations: 0 / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/1.559, allocations: 4 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.559, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/1.559, allocations: 75.88 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008861/1.56, allocations: 336.7 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/1.561, allocations: 102.5 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/1.561, allocations: 41.03 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/1.562, allocations: 0.7566 MB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/1.562, allocations: 34.56 kB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 2.204e-06/1.562, allocations: 0 / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0006948/1.563, allocations: 145.5 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/1.563, allocations: 51.41 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/1.563, allocations: 121.9 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/1.563, allocations: 29.64 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/1.563, allocations: 96.02 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/1.564, allocations: 23.81 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/1.564, allocations: 25.7 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.564, allocations: 318.8 kB / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/1.564, allocations: 31.97 kB / 1.174 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/1.564, allocations: 41.7 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/1.565, allocations: 77.98 kB / 1.174 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.565, allocations: 0 / 1.174 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000445/1.565, allocations: 121.5 kB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/1.565, allocations: 4 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.565, allocations: 0 / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/1.565, allocations: 7.938 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/1.565, allocations: 19.92 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/1.565, allocations: 3.984 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/1.566, allocations: 15.94 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/1.566, allocations: 0 / 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 0.0001481/1.566, allocations: 117.9 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/1.566, allocations: 7.953 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005114/1.566, allocations: 122.1 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.566, allocations: 4 kB / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.566, allocations: 0 / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/1.566, allocations: 0 / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/1.567, allocations: 193.5 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.567, allocations: 4 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/1.567, allocations: 15.98 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/1.567, allocations: 0 / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/1.567, allocations: 11.92 kB / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.567, allocations: 0 / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.567, allocations: 0 / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/1.568, allocations: 211.4 kB / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/1.568, allocations: 89 kB / 1.175 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/1.568, allocations: 3.938 kB / 1.175 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/1.568, allocations: 7.984 kB / 1.175 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/1.568, allocations: 8 kB / 1.175 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/1.568, allocations: 3.938 kB / 1.175 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001407/1.568, allocations: 91.27 kB / 1.175 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.31e-07/1.568, allocations: 0 / 1.175 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000485/1.569, allocations: 24 kB / 1.175 GB, free: 9.758 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.001204/1.57, allocations: 0.7514 MB / 1.176 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004411/1.57, allocations: 88.22 kB / 1.176 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.57, allocations: 0 / 1.176 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/1.571, allocations: 39.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.0004847/1.571, allocations: 10.81 kB / 1.176 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.572, allocations: 259.3 kB / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/1.573, allocations: 0.6885 MB / 1.177 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001082/1.573, allocations: 15.86 kB / 1.177 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/1.573, allocations: 23.44 kB / 1.177 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of SimCode: time 8.72e-07/1.573, allocations: 0 / 1.177 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06722/1.64, allocations: 2.258 MB / 1.179 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.98, allocations: 2.156 kB / 1.179 GB, free: 5.68 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