Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001452/0.001452, 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.001637/0.001637, allocations: 161.4 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.9996/0.9996, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.67/1.67, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.103e-05, allocations: 2.859 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001976/0.001997, allocations: 1.676 MB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00284/0.004836, allocations: 3.405 MB / 0.7921 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.004888, allocations: 4 kB / 0.7921 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.004918, allocations: 5.719 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/0.004985, allocations: 15.8 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.005436, allocations: 149.8 kB / 0.7923 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.005538, allocations: 87.64 kB / 0.7923 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.46e-05/0.005613, allocations: 11.98 kB / 0.7924 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.005737, allocations: 47.89 kB / 0.7924 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.005811, allocations: 36.52 kB / 0.7924 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.005828, allocations: 9.656 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.006049, allocations: 95.72 kB / 0.7925 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.006071, allocations: 15.92 kB / 0.7925 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.006105, allocations: 17.36 kB / 0.7926 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.006297, allocations: 115.6 kB / 0.7927 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.0063, allocations: 3.984 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006301, allocations: 7.938 kB / 0.7927 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.006305, allocations: 1.75 kB / 0.7927 GB, free: 6.766 MB / 0.7448 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.0004146/0.006719, allocations: 416.2 kB / 0.7931 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.006756, allocations: 16.02 kB / 0.7931 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.00689, allocations: 25.53 kB / 0.7931 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.007031, allocations: 133.4 kB / 0.7933 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.007042, allocations: 8.375 kB / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.007051, allocations: 2.312 kB / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.007186, allocations: 82.91 kB / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.007199, allocations: 192 / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.007212, allocations: 4.125 kB / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.00722, allocations: 4 kB / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.339e-05/0.007283, allocations: 42.03 kB / 0.7934 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.007598, allocations: 307.6 kB / 0.7937 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.007727, allocations: 83.03 kB / 0.7938 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.007765, allocations: 27.86 kB / 0.7938 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/0.008164, allocations: 442.4 kB / 0.7942 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.008192, allocations: 38.28 kB / 0.7942 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.008193, allocations: 0 / 0.7942 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001962/0.008389, allocations: 81.64 kB / 0.7943 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.008418, allocations: 56.28 kB / 0.7944 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.008501, allocations: 185.9 kB / 0.7946 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.008513, allocations: 30.98 kB / 0.7946 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.008565, allocations: 142.8 kB / 0.7947 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.008581, allocations: 27.75 kB / 0.7947 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.008614, allocations: 27.92 kB / 0.7948 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.008728, allocations: 0.4922 MB / 0.7953 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.008755, allocations: 12.77 kB / 0.7953 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.008795, allocations: 39.3 kB / 0.7953 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.355e-05/0.008858, allocations: 52.95 kB / 0.7954 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.008861, allocations: 0 / 0.7954 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.557e-05/0.008957, allocations: 81.62 kB / 0.7954 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.008969, allocations: 4.875 kB / 0.7954 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.008974, allocations: 4.109 kB / 0.7954 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.008988, allocations: 11.41 kB / 0.7955 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.884e-05/0.009067, allocations: 19.92 kB / 0.7955 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.009073, allocations: 4 kB / 0.7955 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.009101, allocations: 3.938 kB / 0.7955 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.009108, allocations: 4 kB / 0.7955 GB, free: 3.684 MB / 0.7448 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.192e-05/0.00918, allocations: 164.5 kB / 0.7956 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.009198, allocations: 7.953 kB / 0.7956 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.009331, allocations: 90.92 kB / 0.7957 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009333, allocations: 1.344 kB / 0.7957 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.009337, allocations: 0 / 0.7957 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.009342, allocations: 7.984 kB / 0.7957 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.009445, allocations: 144.5 kB / 0.7959 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.009446, allocations: 0.7188 kB / 0.7959 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.009492, allocations: 15.98 kB / 0.7959 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009493, allocations: 0.6562 kB / 0.7959 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.009501, allocations: 0 / 0.7959 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.009503, allocations: 6.812 kB / 0.7959 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.009503, allocations: 0 / 0.7959 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.009629, allocations: 227.9 kB / 0.7961 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.009638, allocations: 15.89 kB / 0.7961 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.009648, allocations: 0 / 0.7961 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.816e-05/0.009686, allocations: 4 kB / 0.7961 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.009721, allocations: 3.984 kB / 0.7961 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.009727, allocations: 6.531 kB / 0.7962 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.135e-05/0.009768, allocations: 137.3 kB / 0.7963 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009768, allocations: 0 / 0.7963 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001587/0.009927, allocations: 27.92 kB / 0.7963 GB, free: 2.777 MB / 0.7448 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.0001421/0.01007, allocations: 116.1 kB / 0.7964 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.01018, allocations: 55.59 kB / 0.7965 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01018, allocations: 5.062 kB / 0.7965 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.01021, allocations: 27.67 kB / 0.7965 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.01038, allocations: 11.94 kB / 0.7965 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.01091, allocations: 205.8 kB / 0.7967 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.873e-05/0.01095, allocations: 60.8 kB / 0.7968 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.01099, allocations: 16.81 kB / 0.7968 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.01102, allocations: 16.5 kB / 0.7968 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of SimCode: time 5.92e-07/0.01102, allocations: 0 / 0.7968 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of Templates: time 0.003/0.01402, allocations: 1.128 MB / 0.7979 GB, free: 1.102 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.89919850975275]