Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001822/0.001822, allocations: 191.5 kB / 17.29 MB, free: 5.48 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.431/2.431, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 68.22 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2659, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00264/0.2686, allocations: 1.618 MB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00333/0.2719, allocations: 3.256 MB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.272, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.2721, allocations: 7.922 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.296e-05/0.2721, allocations: 15.86 kB / 1.032 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.2725, allocations: 119.5 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.506e-05/0.2726, allocations: 79.72 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.2727, allocations: 16.17 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.895e-05/0.2728, allocations: 43.84 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.2729, allocations: 39.83 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.2729, allocations: 4 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.2732, allocations: 95.8 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.2732, allocations: 23.91 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.2733, allocations: 27.86 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.2735, allocations: 131.6 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2735, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2735, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.2735, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 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.0005071/0.274, allocations: 387.2 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.2741, allocations: 8.031 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.2741, allocations: 8.844 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2742, allocations: 180.2 kB / 1.033 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2743, allocations: 12.31 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.2743, allocations: 4.375 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.2745, allocations: 77.59 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2745, allocations: 0 / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2745, allocations: 4 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2745, allocations: 4 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.2747, allocations: 71.94 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.2751, allocations: 324.7 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.2754, allocations: 98.53 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.2755, allocations: 40.84 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007573/0.2762, allocations: 0.7607 MB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.2763, allocations: 38.5 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.2763, allocations: 4 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0003695/0.2767, allocations: 141.5 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.2767, allocations: 55.41 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/0.2768, allocations: 113.8 kB / 1.034 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2768, allocations: 29.7 kB / 1.034 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.2769, allocations: 92.06 kB / 1.034 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2769, allocations: 27.56 kB / 1.034 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.2769, allocations: 25.7 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2771, allocations: 314.8 kB / 1.035 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.2771, allocations: 35.97 kB / 1.035 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.949e-05/0.2772, allocations: 45.64 kB / 1.035 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.2774, allocations: 73.69 kB / 1.035 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2774, allocations: 0 / 1.035 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000224/0.2777, allocations: 117.8 kB / 1.035 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2777, allocations: 4 kB / 1.035 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2777, allocations: 112 / 1.035 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2777, allocations: 7.875 kB / 1.035 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2778, allocations: 19.98 kB / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2779, allocations: 8.047 kB / 1.035 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.205e-05/0.2779, allocations: 8 kB / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.278, allocations: 4 kB / 1.035 GB, free: 9.129 MB / 0.8106 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.928e-05/0.278, allocations: 126 kB / 1.035 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.2781, allocations: 7.906 kB / 1.035 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.2783, allocations: 121.9 kB / 1.035 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2784, allocations: 7.938 kB / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2784, allocations: 0 / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2784, allocations: 0 / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.2786, allocations: 185.6 kB / 1.036 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2786, allocations: 4 kB / 1.036 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.2787, allocations: 15.98 kB / 1.036 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2787, allocations: 3.938 kB / 1.036 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2787, allocations: 3.984 kB / 1.036 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.2787, allocations: 7.938 kB / 1.036 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2787, allocations: 0 / 1.036 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.279, allocations: 207.4 kB / 1.036 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.279, allocations: 88.95 kB / 1.036 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.2791, allocations: 0 / 1.036 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2792, allocations: 11.92 kB / 1.036 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.2792, allocations: 4 kB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.2792, allocations: 4 kB / 1.036 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.49e-05/0.2793, allocations: 91.27 kB / 1.036 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2793, allocations: 0 / 1.036 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002611/0.2795, allocations: 20 kB / 1.036 GB, free: 8.141 MB / 0.8106 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.0001759/0.2797, allocations: 127.1 kB / 1.036 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.28, allocations: 75.95 kB / 1.036 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.28, allocations: 0 / 1.036 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.2801, allocations: 47.91 kB / 1.036 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.2803, allocations: 12.83 kB / 1.036 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.2807, allocations: 206 kB / 1.036 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.281, allocations: 0.6884 MB / 1.037 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.748e-05/0.281, allocations: 15.92 kB / 1.037 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.2811, allocations: 15.44 kB / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2811, allocations: 0 / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of Templates: time 0.00332/0.2844, allocations: 1.012 MB / 1.038 GB, free: 5.891 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches