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.00142/0.00142, 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.001409/0.001409, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.538/2.538, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.25 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2556, 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.002543/0.2582, allocations: 1.606 MB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003313/0.2615, allocations: 3.254 MB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.2616, allocations: 0 / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.2616, allocations: 3.938 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.263e-05/0.2617, allocations: 15.84 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.2621, allocations: 119.5 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.2622, allocations: 83.69 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7e-05/0.2623, allocations: 12.19 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.505e-05/0.2623, allocations: 35.86 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.064e-05/0.2624, allocations: 43.81 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.2625, allocations: 12 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.2627, allocations: 103.7 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.2627, allocations: 11.94 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.2628, allocations: 35.84 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.263, allocations: 119.9 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.263, allocations: 0 / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.263, allocations: 4 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.902e-06/0.263, allocations: 0 / 1.069 GB, free: 8.734 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.0005058/0.2635, allocations: 387.2 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.2636, allocations: 12.03 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.2636, allocations: 38.73 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.2636, allocations: 8.844 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.2638, allocations: 180.2 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.2638, allocations: 384 / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.2638, allocations: 12.12 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.264, allocations: 77.64 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.264, allocations: 7.984 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.264, allocations: 4 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.264, allocations: 0 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.2642, allocations: 71.94 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.2647, allocations: 332.6 kB / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.2649, allocations: 94.55 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.531e-05/0.265, allocations: 44.83 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007764/0.2658, allocations: 0.7488 MB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.2658, allocations: 38.78 kB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2658, allocations: 0 / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003589/0.2662, allocations: 137.5 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.2662, allocations: 51.41 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.2663, allocations: 125.8 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2663, allocations: 29.7 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.2664, allocations: 84.14 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.2664, allocations: 35.53 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.2665, allocations: 21.72 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2666, allocations: 318.8 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.2667, allocations: 27.98 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.586e-05/0.2668, allocations: 57.56 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.2669, allocations: 73.69 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.267, allocations: 0 / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002224/0.2672, allocations: 113.5 kB / 1.072 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.2672, allocations: 4 kB / 1.072 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.2672, allocations: 0 / 1.072 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2672, allocations: 11.97 kB / 1.072 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2673, allocations: 19.98 kB / 1.072 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2674, allocations: 0 / 1.072 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.2674, allocations: 11.98 kB / 1.072 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.2674, allocations: 4 kB / 1.072 GB, free: 5.238 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 8.168e-05/0.2675, allocations: 117.9 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.2676, allocations: 11.84 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.2678, allocations: 118 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2679, allocations: 4 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2679, allocations: 3.984 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2679, allocations: 0 / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.2681, allocations: 189.6 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2681, allocations: 0 / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.941e-05/0.2682, allocations: 15.98 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2682, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2682, allocations: 11.94 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2682, allocations: 3.938 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2682, allocations: 0 / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.2685, allocations: 203.9 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.2685, allocations: 88.95 kB / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.2685, allocations: 3.938 kB / 1.073 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-05/0.2686, allocations: 8 kB / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.2687, allocations: 7.984 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.2687, allocations: 4 kB / 1.073 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.059e-05/0.2687, allocations: 91.7 kB / 1.073 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2687, allocations: 192 / 1.073 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002239/0.269, allocations: 20 kB / 1.073 GB, free: 4.25 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.000592/0.2696, allocations: 0.767 MB / 1.074 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.2698, allocations: 87.83 kB / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2698, allocations: 0 / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.249e-05/0.2699, allocations: 39.97 kB / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.2702, allocations: 14.78 kB / 1.074 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.2707, allocations: 255.5 kB / 1.074 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.2709, allocations: 0.6924 MB / 1.075 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.322e-05/0.271, allocations: 4 kB / 1.075 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.2711, allocations: 23.42 kB / 1.075 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2711, allocations: 0 / 1.075 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.414/4.685, allocations: 2.211 MB / 1.077 GB, free: 200 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.36/23.05, allocations: 14.81 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=400 --tolerance=1e-06 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.mat","/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