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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001365/0.001366, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001268/0.001268, allocations: 189.8 kB / 17.2 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 1.428/1.428, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 77.28 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8444/0.8464, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00284/0.8493, allocations: 1.598 MB / 1.084 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.8536, allocations: 3.257 MB / 1.088 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.8537, allocations: 0 / 1.088 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.8538, allocations: 5.625 kB / 1.088 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.8539, allocations: 16.45 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.8545, allocations: 115.3 kB / 1.088 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.8546, allocations: 77.55 kB / 1.088 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.747e-05/0.8547, allocations: 16.36 kB / 1.088 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.8548, allocations: 37.73 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.8549, allocations: 40.56 kB / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.855, allocations: 6.062 kB / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.8553, allocations: 107.2 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.8553, allocations: 12.45 kB / 1.088 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.8554, allocations: 32.48 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.8557, allocations: 119.4 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8557, allocations: 1.188 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8557, allocations: 3.938 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.8557, allocations: 3.938 kB / 1.088 GB, free: 13.89 MB / 0.8419 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.0006615/0.8564, allocations: 387.9 kB / 1.089 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.8564, allocations: 9.75 kB / 1.089 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.8565, allocations: 8.344 kB / 1.089 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.8566, allocations: 181.7 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.8567, allocations: 10.22 kB / 1.089 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.8567, allocations: 3.406 kB / 1.089 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.8569, allocations: 84.3 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8569, allocations: 0 / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.8569, allocations: 0.6094 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.857, allocations: 1.219 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.8572, allocations: 72.92 kB / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.8578, allocations: 339 kB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.8581, allocations: 92.16 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.8582, allocations: 44.92 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009372/0.8591, allocations: 0.7553 MB / 1.09 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.8592, allocations: 32.19 kB / 1.09 GB, free: 12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 3.356e-06/0.8592, allocations: 0 / 1.09 GB, free: 12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.000439/0.8596, allocations: 141.1 kB / 1.09 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.8597, allocations: 52.98 kB / 1.09 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.8598, allocations: 118.6 kB / 1.09 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.8598, allocations: 30.86 kB / 1.091 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.8599, allocations: 93.97 kB / 1.091 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.8599, allocations: 30.94 kB / 1.091 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.86, allocations: 18.94 kB / 1.091 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8601, allocations: 324.7 kB / 1.091 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.234e-05/0.8602, allocations: 25.23 kB / 1.091 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.8603, allocations: 47.88 kB / 1.091 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.8605, allocations: 76.19 kB / 1.091 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8605, allocations: 1.188 kB / 1.091 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000244/0.8608, allocations: 118.4 kB / 1.091 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8608, allocations: 6.859 kB / 1.091 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.8608, allocations: 0 / 1.091 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.8609, allocations: 5.25 kB / 1.091 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.861, allocations: 18.47 kB / 1.091 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.861, allocations: 9.375 kB / 1.091 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.8611, allocations: 5.484 kB / 1.091 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.8611, allocations: 6.703 kB / 1.091 GB, free: 11.12 MB / 0.8419 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.0001165/0.8612, allocations: 124.2 kB / 1.091 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.8613, allocations: 10.41 kB / 1.091 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.8616, allocations: 115 kB / 1.091 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.8616, allocations: 5.219 kB / 1.092 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8616, allocations: 0.5156 kB / 1.092 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8617, allocations: 6.156 kB / 1.092 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.8619, allocations: 193.4 kB / 1.092 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8619, allocations: 1.219 kB / 1.092 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.862, allocations: 17.55 kB / 1.092 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.862, allocations: 0 / 1.092 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.862, allocations: 2.094 kB / 1.092 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.8621, allocations: 3.938 kB / 1.092 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8621, allocations: 5.703 kB / 1.092 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.8624, allocations: 197.4 kB / 1.092 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.8624, allocations: 87.2 kB / 1.092 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.8625, allocations: 5.641 kB / 1.092 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.8626, allocations: 9.641 kB / 1.092 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.8626, allocations: 4.438 kB / 1.092 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.8626, allocations: 3.141 kB / 1.092 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.643e-05/0.8627, allocations: 96.02 kB / 1.092 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8627, allocations: 0 / 1.092 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002631/0.863, allocations: 25.25 kB / 1.092 GB, free: 10.35 MB / 0.8419 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.0002494/0.8632, allocations: 125.4 kB / 1.092 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.8635, allocations: 82.83 kB / 1.092 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8635, allocations: 0 / 1.092 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.8636, allocations: 49.48 kB / 1.092 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.8639, allocations: 8.25 kB / 1.092 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.8644, allocations: 243.9 kB / 1.093 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.8648, allocations: 0.6931 MB / 1.093 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.8648, allocations: 16.45 kB / 1.093 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.8648, allocations: 0 / 1.093 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of Templates: time 0.003491/0.8683, allocations: 1.248 MB / 1.095 GB, free: 9.184 MB / 0.8419 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=400 -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