Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009052/0.0009052, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009134/0.0009134, allocations: 166 kB / 24.87 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8782/0.8782, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.763/1.763, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.52e-05, allocations: 7 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001778/0.001793, allocations: 1.648 MB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.004671, allocations: 3.383 MB / 0.8177 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.004724, allocations: 3.938 kB / 0.8177 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.004748, allocations: 7.938 kB / 0.8178 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.004809, allocations: 16.42 kB / 0.8178 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.005218, allocations: 141.1 kB / 0.8179 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.315e-05/0.005311, allocations: 88.3 kB / 0.818 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.142e-05/0.005372, allocations: 11.97 kB / 0.818 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.005484, allocations: 65.09 kB / 0.8181 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.005543, allocations: 23.97 kB / 0.8181 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.005556, allocations: 9.75 kB / 0.8181 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.005742, allocations: 103.7 kB / 0.8182 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.00576, allocations: 11.92 kB / 0.8182 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.005783, allocations: 23.97 kB / 0.8182 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.005941, allocations: 115.1 kB / 0.8183 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.005943, allocations: 0 / 0.8183 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.3e-07/0.005943, allocations: 3.938 kB / 0.8183 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.005946, allocations: 4 kB / 0.8183 GB, free: 11.79 MB / 0.7761 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.0003306/0.006277, allocations: 416.2 kB / 0.8187 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.635e-05/0.006303, allocations: 12.03 kB / 0.8187 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.006419, allocations: 32.81 kB / 0.8188 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.006532, allocations: 133.4 kB / 0.8189 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.00654, allocations: 4.375 kB / 0.8189 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.006549, allocations: 4.875 kB / 0.8189 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/0.006647, allocations: 75.48 kB / 0.819 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.006653, allocations: 0.75 kB / 0.819 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.006661, allocations: 4.125 kB / 0.819 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.006665, allocations: 1.188 kB / 0.819 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.663e-05/0.006712, allocations: 35.89 kB / 0.819 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.006959, allocations: 292.9 kB / 0.8193 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.00706, allocations: 79.47 kB / 0.8194 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.007085, allocations: 19.69 kB / 0.8194 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/0.007436, allocations: 446.8 kB / 0.8198 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.007455, allocations: 39.7 kB / 0.8199 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 7.92e-07/0.007456, allocations: 0 / 0.8199 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001616/0.007617, allocations: 81.62 kB / 0.8199 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.007641, allocations: 55.39 kB / 0.82 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.007707, allocations: 181.9 kB / 0.8202 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.007715, allocations: 25.8 kB / 0.8202 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.007764, allocations: 146.8 kB / 0.8203 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.007778, allocations: 32.64 kB / 0.8204 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.007811, allocations: 27.36 kB / 0.8204 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.007909, allocations: 0.4932 MB / 0.8209 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.007926, allocations: 7.984 kB / 0.8209 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.007956, allocations: 35.34 kB / 0.8209 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.647e-05/0.008002, allocations: 36.5 kB / 0.821 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.008004, allocations: 0 / 0.821 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.464e-05/0.008089, allocations: 86.98 kB / 0.821 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.008098, allocations: 4 kB / 0.821 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.008102, allocations: 0.9375 kB / 0.821 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.008109, allocations: 4 kB / 0.821 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.008179, allocations: 19.92 kB / 0.8211 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.008181, allocations: 0.5938 kB / 0.8211 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.00821, allocations: 8.438 kB / 0.8211 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.008216, allocations: 5.625 kB / 0.8211 GB, free: 8.773 MB / 0.7761 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 5.94e-05/0.008275, allocations: 164.5 kB / 0.8212 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.008295, allocations: 8.062 kB / 0.8212 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.008408, allocations: 90.98 kB / 0.8213 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.00841, allocations: 0 / 0.8213 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.008411, allocations: 1.094 kB / 0.8213 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008415, allocations: 3.984 kB / 0.8213 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.008516, allocations: 125.1 kB / 0.8215 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.008517, allocations: 8.562 kB / 0.8215 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.008562, allocations: 12 kB / 0.8215 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008564, allocations: 4.641 kB / 0.8215 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.008569, allocations: 1.125 kB / 0.8215 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.00857, allocations: 0 / 0.8215 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.008571, allocations: 0 / 0.8215 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.008679, allocations: 223.8 kB / 0.8217 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-06/0.008688, allocations: 15.91 kB / 0.8217 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-06/0.008697, allocations: 0 / 0.8217 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.008737, allocations: 4 kB / 0.8217 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.008762, allocations: 3.984 kB / 0.8217 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.008767, allocations: 11.94 kB / 0.8217 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.629e-05/0.008803, allocations: 137 kB / 0.8219 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008803, allocations: 0 / 0.8219 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001656/0.008969, allocations: 19.94 kB / 0.8219 GB, free: 7.898 MB / 0.7761 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.000108/0.009077, allocations: 120.9 kB / 0.822 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.909e-05/0.009156, allocations: 43.66 kB / 0.822 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.009157, allocations: 0 / 0.822 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.009185, allocations: 35.59 kB / 0.8221 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.009354, allocations: 19.84 kB / 0.8221 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.009783, allocations: 201.6 kB / 0.8223 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.011e-05/0.009813, allocations: 59.34 kB / 0.8223 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.009853, allocations: 8.094 kB / 0.8223 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.009911, allocations: 82.12 kB / 0.8224 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.009911, allocations: 4 kB / 0.8224 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of Templates: time 0.0024/0.01231, allocations: 1.154 MB / 0.8235 GB, free: 6.141 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.587124228011817]