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.001284/0.001284, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001346/0.001346, allocations: 161 kB / 23.82 MB, free: 0.7539 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.8769/0.8769, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.737/1.737, allocations: 377.9 MB / 0.6236 GB, free: 8.555 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.102e-06/1.102e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.508e-05, allocations: 8.359 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001705/0.00172, allocations: 1.673 MB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.004332, allocations: 3.402 MB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.004382, allocations: 0 / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.004413, allocations: 7.938 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.004476, allocations: 21.19 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.004942, allocations: 140.7 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.005043, allocations: 89.08 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.934e-05/0.005113, allocations: 11.97 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.005229, allocations: 55.83 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.898e-05/0.005288, allocations: 33.05 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.005303, allocations: 8 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.005472, allocations: 100.5 kB / 0.817 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.005486, allocations: 7.984 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.005513, allocations: 20.55 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.00568, allocations: 124.3 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.155e-06/0.005683, allocations: 0 / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.32e-07/0.005683, allocations: 1.25 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.005687, allocations: 4 kB / 0.8171 GB, free: 12.02 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.0006071/0.006294, allocations: 421.7 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.006323, allocations: 12.03 kB / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.006458, allocations: 24.88 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.006591, allocations: 137.5 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.006601, allocations: 8.359 kB / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.006613, allocations: 11.69 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.006734, allocations: 74.92 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.00674, allocations: 192 / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.006751, allocations: 4.125 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.006758, allocations: 4 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.126e-05/0.006819, allocations: 35.95 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.007112, allocations: 311.6 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.007239, allocations: 82.98 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/0.007274, allocations: 28.17 kB / 0.8182 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/0.007647, allocations: 435 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.007665, allocations: 37.39 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.007666, allocations: 1.281 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001797/0.007845, allocations: 93.84 kB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.00787, allocations: 51.41 kB / 0.8188 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.296e-05/0.007943, allocations: 186.6 kB / 0.819 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.639e-06/0.007952, allocations: 25.7 kB / 0.819 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.007999, allocations: 139.7 kB / 0.8192 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.008015, allocations: 35.72 kB / 0.8192 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.008045, allocations: 28.97 kB / 0.8192 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.433e-05/0.008139, allocations: 0.4922 MB / 0.8197 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.008165, allocations: 15.98 kB / 0.8197 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.008199, allocations: 31.38 kB / 0.8197 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.097e-05/0.00826, allocations: 52.73 kB / 0.8198 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008262, allocations: 0 / 0.8198 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001038/0.008366, allocations: 82.62 kB / 0.8199 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.008376, allocations: 6.656 kB / 0.8199 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.008381, allocations: 7.984 kB / 0.8199 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.008392, allocations: 1.094 kB / 0.8199 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.008469, allocations: 12 kB / 0.8199 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.008475, allocations: 4 kB / 0.8199 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.008505, allocations: 13.17 kB / 0.8199 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.008511, allocations: 4 kB / 0.8199 GB, free: 8.938 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.657e-05/0.008568, allocations: 161 kB / 0.8201 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.008587, allocations: 15.89 kB / 0.8201 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.008716, allocations: 90.98 kB / 0.8202 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.008718, allocations: 1.062 kB / 0.8202 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.00872, allocations: 0 / 0.8202 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.008723, allocations: 0 / 0.8202 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.636e-05/0.008819, allocations: 145.7 kB / 0.8203 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.00882, allocations: 0 / 0.8203 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.008865, allocations: 19.92 kB / 0.8203 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008867, allocations: 5.094 kB / 0.8203 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.008873, allocations: 0 / 0.8203 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008874, allocations: 0 / 0.8203 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.008875, allocations: 4.656 kB / 0.8203 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.008991, allocations: 231.8 kB / 0.8206 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.008999, allocations: 10.2 kB / 0.8206 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.009009, allocations: 0 / 0.8206 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.009049, allocations: 8 kB / 0.8206 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.009081, allocations: 3.984 kB / 0.8206 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.009085, allocations: 4 kB / 0.8206 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.009123, allocations: 137.4 kB / 0.8207 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.009123, allocations: 3.094 kB / 0.8207 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001733/0.009297, allocations: 23.94 kB / 0.8207 GB, free: 8.027 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.0001198/0.009416, allocations: 123.1 kB / 0.8209 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.009523, allocations: 51.59 kB / 0.8209 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.009524, allocations: 0 / 0.8209 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.372e-05/0.009558, allocations: 36.55 kB / 0.821 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.009727, allocations: 17.91 kB / 0.821 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.01022, allocations: 203 kB / 0.8212 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.45e-05/0.01026, allocations: 63.34 kB / 0.8212 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.692e-05/0.0103, allocations: 10.91 kB / 0.8212 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.01032, allocations: 12.5 kB / 0.8212 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.01032, allocations: 0 / 0.8212 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of Templates: time 0.00254/0.01286, allocations: 1.12 MB / 0.8223 GB, free: 6.359 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.523457360919565]