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.001609/0.001609, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001935/0.001935, allocations: 169 kB / 24.28 MB, free: 276 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.9746/0.9746, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.786/1.786, allocations: 359 MB / 0.6055 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.084e-06/2.084e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.614e-05, allocations: 7.094 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003335/0.003371, allocations: 1.671 MB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004141/0.007512, allocations: 3.41 MB / 0.7921 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.007561, allocations: 3.938 kB / 0.7921 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.007587, allocations: 3.938 kB / 0.7921 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.007643, allocations: 21.19 kB / 0.7921 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.008085, allocations: 141.2 kB / 0.7923 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.008202, allocations: 83.7 kB / 0.7923 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.919e-05/0.008281, allocations: 12.89 kB / 0.7923 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.008412, allocations: 59.88 kB / 0.7924 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.008477, allocations: 29.53 kB / 0.7924 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.008491, allocations: 4 kB / 0.7924 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.00867, allocations: 99.72 kB / 0.7925 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.008688, allocations: 12.48 kB / 0.7925 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.008719, allocations: 23.91 kB / 0.7926 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.008911, allocations: 116.3 kB / 0.7927 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.008917, allocations: 11.98 kB / 0.7927 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.763e-06/0.008919, allocations: 0.5 kB / 0.7927 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.008924, allocations: 0.6875 kB / 0.7927 GB, free: 7.094 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.0004373/0.009361, allocations: 409.2 kB / 0.7931 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.009401, allocations: 16.02 kB / 0.7931 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.009546, allocations: 30.72 kB / 0.7931 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.009704, allocations: 136.5 kB / 0.7933 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.009714, allocations: 8.375 kB / 0.7933 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.009727, allocations: 5.562 kB / 0.7933 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.009885, allocations: 82.84 kB / 0.7933 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.009893, allocations: 192 / 0.7933 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.009905, allocations: 8.656 kB / 0.7934 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.009912, allocations: 0 / 0.7934 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.009986, allocations: 36.75 kB / 0.7934 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.01033, allocations: 312.4 kB / 0.7937 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.01046, allocations: 79.05 kB / 0.7938 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.0105, allocations: 28.61 kB / 0.7938 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/0.01093, allocations: 439.5 kB / 0.7942 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.01095, allocations: 37.38 kB / 0.7942 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.763e-06/0.01095, allocations: 0 / 0.7942 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002054/0.01116, allocations: 89.62 kB / 0.7943 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.01119, allocations: 51.41 kB / 0.7944 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.01127, allocations: 183.4 kB / 0.7946 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.01128, allocations: 29.64 kB / 0.7946 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.01134, allocations: 142.9 kB / 0.7947 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.01136, allocations: 31.69 kB / 0.7947 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.01139, allocations: 31.98 kB / 0.7948 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.0115, allocations: 0.4888 MB / 0.7953 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.01153, allocations: 15.98 kB / 0.7953 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.01156, allocations: 31.92 kB / 0.7953 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.376e-05/0.01163, allocations: 48.91 kB / 0.7953 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01163, allocations: 0 / 0.7953 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001036/0.01173, allocations: 86.64 kB / 0.7954 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.01175, allocations: 8 kB / 0.7954 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.01175, allocations: 0 / 0.7954 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.01176, allocations: 0.6562 kB / 0.7954 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.01185, allocations: 21.33 kB / 0.7955 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.01186, allocations: 4 kB / 0.7955 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/0.01189, allocations: 11.94 kB / 0.7955 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.0119, allocations: 0 / 0.7955 GB, free: 4.02 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 6.53e-05/0.01196, allocations: 164.2 kB / 0.7956 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.01198, allocations: 11.95 kB / 0.7956 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.01212, allocations: 86.08 kB / 0.7957 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01212, allocations: 0 / 0.7957 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01213, allocations: 4 kB / 0.7957 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01213, allocations: 3.984 kB / 0.7957 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.01224, allocations: 144.5 kB / 0.7959 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.01224, allocations: 0 / 0.7959 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.01228, allocations: 16.92 kB / 0.7959 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01228, allocations: 3.984 kB / 0.7959 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.01229, allocations: 5.062 kB / 0.7959 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.0123, allocations: 0 / 0.7959 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.0123, allocations: 0 / 0.7959 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.01243, allocations: 236.9 kB / 0.7961 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.01244, allocations: 7.953 kB / 0.7961 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.01245, allocations: 0 / 0.7961 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.01249, allocations: 5.125 kB / 0.7961 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.01253, allocations: 15.86 kB / 0.7961 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.01253, allocations: 4 kB / 0.7962 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.01258, allocations: 141.9 kB / 0.7963 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01258, allocations: 0 / 0.7963 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001719/0.01275, allocations: 27.92 kB / 0.7963 GB, free: 3.098 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.0001706/0.01292, allocations: 113.7 kB / 0.7964 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.01303, allocations: 47.66 kB / 0.7965 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01304, allocations: 3.938 kB / 0.7965 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.01307, allocations: 35.77 kB / 0.7965 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.01325, allocations: 7.938 kB / 0.7965 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.01382, allocations: 214.5 kB / 0.7967 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.637e-05/0.01386, allocations: 59.36 kB / 0.7968 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.0139, allocations: 8.531 kB / 0.7968 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.01393, allocations: 12.5 kB / 0.7968 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.01393, allocations: 0 / 0.7968 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of Templates: time 0.002754/0.01668, allocations: 1.073 MB / 0.7978 GB, free: 1.488 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: 5.013589511858299]