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.0009595/0.0009595, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009572/0.0009572, allocations: 185 kB / 24.09 MB, free: 412 kB / 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.8737/0.8737, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.748/1.748, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.893e-06/1.893e-06, allocations: 0 / 0.812 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.846e-05, allocations: 2.312 kB / 0.812 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00205/0.002069, allocations: 1.667 MB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.004736, allocations: 3.382 MB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.00479, allocations: 0 / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.004817, allocations: 10.31 kB / 0.817 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.034e-05/0.004877, allocations: 19.8 kB / 0.817 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.005333, allocations: 141.2 kB / 0.8171 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.249e-05/0.005425, allocations: 83.64 kB / 0.8172 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.602e-05/0.005491, allocations: 11.98 kB / 0.8172 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.005614, allocations: 63.81 kB / 0.8173 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.005674, allocations: 32.98 kB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.005687, allocations: 4 kB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.005854, allocations: 93.55 kB / 0.8174 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.005872, allocations: 23.91 kB / 0.8174 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.005893, allocations: 15.98 kB / 0.8175 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.00605, allocations: 115.6 kB / 0.8176 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.006052, allocations: 2.562 kB / 0.8176 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006052, allocations: 0 / 0.8176 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.005e-06/0.006055, allocations: 0 / 0.8176 GB, free: 11.76 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.0003404/0.006396, allocations: 428.2 kB / 0.818 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.006426, allocations: 8.031 kB / 0.818 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.006539, allocations: 29.98 kB / 0.818 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.00665, allocations: 140.4 kB / 0.8181 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-06/0.006656, allocations: 1.125 kB / 0.8181 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.006664, allocations: 4.375 kB / 0.8181 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.763e-05/0.006761, allocations: 71.52 kB / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.006767, allocations: 1.031 kB / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.006777, allocations: 16.11 kB / 0.8182 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.006782, allocations: 1.969 kB / 0.8182 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.166e-05/0.006823, allocations: 27.91 kB / 0.8183 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.007075, allocations: 296.2 kB / 0.8185 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.00718, allocations: 78.97 kB / 0.8186 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.007205, allocations: 24.33 kB / 0.8186 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000364/0.007569, allocations: 435 kB / 0.8191 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.00759, allocations: 41.61 kB / 0.8191 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.007592, allocations: 0 / 0.8191 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001397/0.007731, allocations: 78.97 kB / 0.8192 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.007751, allocations: 51.41 kB / 0.8192 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.007819, allocations: 187.5 kB / 0.8194 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.007828, allocations: 25.7 kB / 0.8194 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.007877, allocations: 147.5 kB / 0.8196 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.00789, allocations: 23.75 kB / 0.8196 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.007923, allocations: 32 kB / 0.8196 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.008025, allocations: 0.4922 MB / 0.8201 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.008042, allocations: 15.69 kB / 0.8201 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.008073, allocations: 31.3 kB / 0.8201 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.748e-05/0.008121, allocations: 47.34 kB / 0.8202 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008122, allocations: 0 / 0.8202 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.581e-05/0.008208, allocations: 81.88 kB / 0.8203 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.008219, allocations: 4 kB / 0.8203 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.008222, allocations: 0 / 0.8203 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.00823, allocations: 0 / 0.8203 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.008299, allocations: 22.03 kB / 0.8203 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.008301, allocations: 3.938 kB / 0.8203 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.008329, allocations: 7.938 kB / 0.8203 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.008333, allocations: 0 / 0.8203 GB, free: 8.742 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 6.008e-05/0.008394, allocations: 174.9 kB / 0.8205 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.008412, allocations: 7.953 kB / 0.8205 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.008524, allocations: 86.08 kB / 0.8206 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008526, allocations: 0 / 0.8206 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.008527, allocations: 0 / 0.8206 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.008529, allocations: 0 / 0.8206 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.982e-05/0.008629, allocations: 122.9 kB / 0.8207 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.008631, allocations: 4 kB / 0.8207 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.008675, allocations: 19.98 kB / 0.8207 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.008677, allocations: 7.938 kB / 0.8207 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.008682, allocations: 0.5938 kB / 0.8207 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.008682, allocations: 0 / 0.8207 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008683, allocations: 1.375 kB / 0.8207 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.008792, allocations: 227.8 kB / 0.8209 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.008798, allocations: 3.953 kB / 0.8209 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-06/0.008808, allocations: 8 kB / 0.8209 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.722e-05/0.008845, allocations: 4.031 kB / 0.8209 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.008872, allocations: 7.984 kB / 0.821 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.008875, allocations: 0 / 0.821 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.786e-05/0.008913, allocations: 138 kB / 0.8211 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.008913, allocations: 4 kB / 0.8211 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001661/0.009079, allocations: 19.94 kB / 0.8211 GB, free: 7.863 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.0001226/0.009202, allocations: 119.1 kB / 0.8212 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.936e-05/0.009281, allocations: 51.64 kB / 0.8213 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.009282, allocations: 0 / 0.8213 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.009308, allocations: 27.61 kB / 0.8213 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.009471, allocations: 19.78 kB / 0.8213 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.009904, allocations: 202.8 kB / 0.8215 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.005e-05/0.009934, allocations: 63.34 kB / 0.8216 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.009978, allocations: 12.11 kB / 0.8216 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.01003, allocations: 74.2 kB / 0.8216 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01003, allocations: 0 / 0.8216 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of Templates: time 0.002371/0.0124, allocations: 1.138 MB / 0.8228 GB, free: 6.113 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.445082691963762]