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.001539/0.001539, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001231/0.001231, allocations: 161.4 kB / 23.82 MB, free: 0.7578 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 1.002/1.002, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.845/1.845, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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.685e-06/2.685e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.265e-05, allocations: 8.781 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003033/0.003066, allocations: 1.668 MB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003895/0.006961, allocations: 3.414 MB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.007025, allocations: 0 / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.007062, allocations: 5.469 kB / 0.7921 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.438e-05/0.007147, allocations: 15.86 kB / 0.7921 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005961/0.007743, allocations: 145.1 kB / 0.7923 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.007871, allocations: 85.95 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.159e-05/0.007953, allocations: 8 kB / 0.7923 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.008129, allocations: 59.88 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/0.008209, allocations: 31.89 kB / 0.7924 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.008226, allocations: 4 kB / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.008444, allocations: 96.25 kB / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.008465, allocations: 20.64 kB / 0.7925 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.008503, allocations: 19.92 kB / 0.7926 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.008739, allocations: 116.1 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.008741, allocations: 1.594 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.745e-06/0.008744, allocations: 3.984 kB / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.008749, allocations: 0 / 0.7927 GB, free: 6.77 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.000495/0.009244, allocations: 416.9 kB / 0.7931 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.009284, allocations: 8.031 kB / 0.7931 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.009463, allocations: 29.58 kB / 0.7931 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.009646, allocations: 146.9 kB / 0.7933 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.009657, allocations: 0.9062 kB / 0.7933 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.009674, allocations: 5.125 kB / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.009847, allocations: 82.91 kB / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.009858, allocations: 9.438 kB / 0.7934 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.009871, allocations: 4.125 kB / 0.7934 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.00988, allocations: 0 / 0.7934 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.124e-05/0.009971, allocations: 35.97 kB / 0.7934 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.01039, allocations: 312.8 kB / 0.7937 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.01057, allocations: 83.64 kB / 0.7938 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.01062, allocations: 27.67 kB / 0.7938 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005496/0.01117, allocations: 434.6 kB / 0.7942 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.0112, allocations: 37.39 kB / 0.7942 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.0112, allocations: 1.938 kB / 0.7942 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002472/0.01145, allocations: 93.84 kB / 0.7943 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.01148, allocations: 51.41 kB / 0.7944 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.01159, allocations: 181.9 kB / 0.7946 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.0116, allocations: 25.7 kB / 0.7946 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.01167, allocations: 143.3 kB / 0.7947 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.01169, allocations: 24.31 kB / 0.7947 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.01174, allocations: 32.14 kB / 0.7948 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.01188, allocations: 0.4922 MB / 0.7953 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.01195, allocations: 15.98 kB / 0.7953 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.002e-05/0.012, allocations: 32.39 kB / 0.7953 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.386e-05/0.01207, allocations: 55.41 kB / 0.7954 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01207, allocations: 4.594 kB / 0.7954 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001179/0.01219, allocations: 82.47 kB / 0.7954 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.0122, allocations: 5.719 kB / 0.7954 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.01221, allocations: 7.531 kB / 0.7954 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.01223, allocations: 8 kB / 0.7955 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.01232, allocations: 15.98 kB / 0.7955 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.01233, allocations: 0 / 0.7955 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/0.01236, allocations: 7.938 kB / 0.7955 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.01237, allocations: 8 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.134e-05/0.01244, allocations: 156.5 kB / 0.7956 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.01246, allocations: 11.95 kB / 0.7956 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.01262, allocations: 95.78 kB / 0.7957 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01262, allocations: 0 / 0.7957 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01263, allocations: 0 / 0.7957 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01263, allocations: 5.016 kB / 0.7957 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.01281, allocations: 144.5 kB / 0.7959 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01281, allocations: 4 kB / 0.7959 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.721e-05/0.01289, allocations: 17.05 kB / 0.7959 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.0129, allocations: 0 / 0.7959 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01291, allocations: 0 / 0.7959 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.01291, allocations: 1.094 kB / 0.7959 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01291, allocations: 0 / 0.7959 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.01306, allocations: 235.8 kB / 0.7961 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.01307, allocations: 5.203 kB / 0.7961 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.01308, allocations: 4 kB / 0.7961 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.247e-05/0.01312, allocations: 0 / 0.7961 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.01317, allocations: 13.83 kB / 0.7961 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.01317, allocations: 0 / 0.7961 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.01322, allocations: 143.9 kB / 0.7963 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01322, allocations: 0 / 0.7963 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001754/0.0134, allocations: 23.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.0001667/0.01356, allocations: 123.1 kB / 0.7964 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.01368, allocations: 55.59 kB / 0.7965 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01368, allocations: 0 / 0.7965 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.639e-05/0.01372, allocations: 27.67 kB / 0.7965 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.01393, allocations: 11.94 kB / 0.7965 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.01452, allocations: 212.8 kB / 0.7967 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.883e-05/0.01456, allocations: 55.36 kB / 0.7968 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.0146, allocations: 15.97 kB / 0.7968 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.01463, allocations: 12.5 kB / 0.7968 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.01464, allocations: 4 kB / 0.7968 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of Templates: time 0.003074/0.01771, allocations: 1.042 MB / 0.7978 GB, free: 1.18 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.314738572109491]