Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_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.001586/0.001586, 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.001566/0.001566, allocations: 194.4 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 69.72 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2658, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002822/0.2687, allocations: 1.605 MB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003791/0.2725, allocations: 3.25 MB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.2725, allocations: 4 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.2726, allocations: 7.922 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.2726, allocations: 11.86 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.2731, allocations: 119.5 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.2732, allocations: 75.72 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.333e-05/0.2733, allocations: 20.16 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.525e-05/0.2734, allocations: 39.86 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.322e-05/0.2735, allocations: 35.84 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.2735, allocations: 8 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.2737, allocations: 103.8 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.2738, allocations: 15.92 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.2738, allocations: 27.86 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.2741, allocations: 131.9 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2741, allocations: 0 / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2741, allocations: 0 / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.2741, allocations: 0 / 1.069 GB, free: 8.738 MB / 0.8262 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.0005726/0.2747, allocations: 387.2 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2747, allocations: 12.03 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.2748, allocations: 34.75 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.2748, allocations: 8.844 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2749, allocations: 188.1 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.275, allocations: 384 / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.275, allocations: 12.12 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.2752, allocations: 73.66 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2752, allocations: 3.984 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.2752, allocations: 3.938 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2752, allocations: 4 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.2754, allocations: 71.94 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.2759, allocations: 332.6 kB / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.2762, allocations: 94.53 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.2763, allocations: 44.84 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009074/0.2772, allocations: 0.7527 MB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.2773, allocations: 34.78 kB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.2773, allocations: 0 / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004015/0.2777, allocations: 141.7 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.2777, allocations: 55.41 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2778, allocations: 117.8 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.2779, allocations: 25.7 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.2779, allocations: 92.12 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.278, allocations: 27.56 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.278, allocations: 21.7 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2782, allocations: 326.8 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.2783, allocations: 27.98 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2784, allocations: 49.62 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.2786, allocations: 77.75 kB / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2786, allocations: 4 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002545/0.2788, allocations: 113.5 kB / 1.072 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2789, allocations: 7.984 kB / 1.072 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2789, allocations: 0 / 1.072 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2789, allocations: 3.938 kB / 1.072 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.279, allocations: 19.98 kB / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.279, allocations: 0 / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.656e-05/0.2791, allocations: 8 kB / 1.072 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2791, allocations: 8.141 kB / 1.072 GB, free: 5.242 MB / 0.8262 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 9.57e-05/0.2792, allocations: 121.7 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.2793, allocations: 15.89 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.2796, allocations: 118.1 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2796, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2796, allocations: 4 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2796, allocations: 4 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.2798, allocations: 193.6 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2798, allocations: 0 / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.28, allocations: 15.98 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.28, allocations: 0 / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.28, allocations: 3.938 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.28, allocations: 7.938 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.28, allocations: 0 / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.2803, allocations: 203.4 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.2804, allocations: 84.95 kB / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.2804, allocations: 7.938 kB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2805, allocations: 7.984 kB / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.2806, allocations: 7.984 kB / 1.073 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.2806, allocations: 4 kB / 1.073 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.66e-05/0.2806, allocations: 91.27 kB / 1.073 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2806, allocations: 0 / 1.073 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002598/0.2809, allocations: 24 kB / 1.073 GB, free: 4.242 MB / 0.8262 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.0006769/0.2816, allocations: 0.7567 MB / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.2819, allocations: 88.14 kB / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2819, allocations: 0 / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.282, allocations: 36.14 kB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.2822, allocations: 16.84 kB / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.2828, allocations: 263.6 kB / 1.074 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.2831, allocations: 0.6885 MB / 1.075 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.535e-05/0.2832, allocations: 11.94 kB / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.2833, allocations: 23.42 kB / 1.075 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2833, allocations: 0 / 1.075 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.3058, allocations: 2.207 MB / 1.077 GB, free: 196 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.932, allocations: 11.97 kB / 1.077 GB, free: 188 kB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv --start-time 0 --stop-time 50 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches