Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001486/0.001486, allocations: 92.31 kB / 20.19 MB, free: 4.355 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.001761/0.001761, allocations: 169 kB / 23.49 MB, free: 1.051 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.9525/0.9525, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2/2, allocations: 429.5 MB / 0.6736 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.724e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001937/0.001954, allocations: 1.666 MB / 0.8799 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002916/0.00487, allocations: 3.416 MB / 0.8832 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.004932, allocations: 4 kB / 0.8832 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.004963, allocations: 15.8 kB / 0.8832 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.176e-05/0.005035, allocations: 11.86 kB / 0.8832 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.005513, allocations: 135.4 kB / 0.8834 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.005631, allocations: 91.62 kB / 0.8834 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.005714, allocations: 8 kB / 0.8834 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.005844, allocations: 59.81 kB / 0.8835 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.005914, allocations: 27.91 kB / 0.8835 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.005929, allocations: 4 kB / 0.8835 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.006097, allocations: 99.77 kB / 0.8836 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.006117, allocations: 19.86 kB / 0.8837 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.006147, allocations: 23.92 kB / 0.8837 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.006337, allocations: 115.7 kB / 0.8838 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.006339, allocations: 4 kB / 0.8838 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.006339, allocations: 0 / 0.8838 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.006343, allocations: 0 / 0.8838 GB, free: 0.9297 MB / 0.8386 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.000407/0.00675, allocations: 416.2 kB / 0.8842 GB, free: 500 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.006787, allocations: 8.031 kB / 0.8842 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.006923, allocations: 28.88 kB / 0.8842 GB, free: 464 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.007072, allocations: 144.4 kB / 0.8844 GB, free: 292 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.007081, allocations: 4.375 kB / 0.8844 GB, free: 288 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.007093, allocations: 8.375 kB / 0.8844 GB, free: 280 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.007225, allocations: 78.3 kB / 0.8844 GB, free: 192 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.007231, allocations: 0 / 0.8844 GB, free: 192 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.007242, allocations: 4 kB / 0.8844 GB, free: 188 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.007249, allocations: 0 / 0.8844 GB, free: 188 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.762e-05/0.007316, allocations: 39.91 kB / 0.8845 GB, free: 148 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.007678, allocations: 315.5 kB / 0.8848 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.007806, allocations: 83.03 kB / 0.8849 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.007862, allocations: 23.69 kB / 0.8849 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003824/0.008245, allocations: 436.2 kB / 0.8853 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/0.008304, allocations: 45.61 kB / 0.8853 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.008305, allocations: 0 / 0.8853 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0002007/0.008505, allocations: 85.61 kB / 0.8854 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.008534, allocations: 59.34 kB / 0.8855 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.008617, allocations: 189.1 kB / 0.8857 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.008628, allocations: 25.7 kB / 0.8857 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.008686, allocations: 142.9 kB / 0.8858 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.0087, allocations: 19.75 kB / 0.8858 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.008736, allocations: 35.36 kB / 0.8859 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.008908, allocations: 0.4923 MB / 0.8864 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.008933, allocations: 8 kB / 0.8864 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.008973, allocations: 35.3 kB / 0.8864 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.399e-05/0.009037, allocations: 47.36 kB / 0.8864 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.009039, allocations: 0 / 0.8864 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001096/0.009148, allocations: 89.56 kB / 0.8865 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.009162, allocations: 4.109 kB / 0.8865 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.009166, allocations: 3.938 kB / 0.8865 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.009178, allocations: 4 kB / 0.8865 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.009261, allocations: 19.98 kB / 0.8866 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.009266, allocations: 3.938 kB / 0.8866 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.009301, allocations: 19.88 kB / 0.8866 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.009308, allocations: 4 kB / 0.8866 GB, free: 13.82 MB / 0.8542 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.319e-05/0.009381, allocations: 164.5 kB / 0.8867 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.009399, allocations: 11.98 kB / 0.8868 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.009542, allocations: 94.22 kB / 0.8868 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.009543, allocations: 0 / 0.8868 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.009547, allocations: 3.938 kB / 0.8869 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.009551, allocations: 0 / 0.8869 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.009654, allocations: 128.6 kB / 0.887 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.009655, allocations: 4 kB / 0.887 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.009702, allocations: 15.98 kB / 0.887 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.009702, allocations: 0 / 0.887 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.009711, allocations: 11.94 kB / 0.887 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.009712, allocations: 0 / 0.887 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.009714, allocations: 3.984 kB / 0.887 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.00984, allocations: 228.3 kB / 0.8872 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.009847, allocations: 3.953 kB / 0.8872 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.009861, allocations: 4 kB / 0.8872 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.009903, allocations: 7.984 kB / 0.8872 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.00994, allocations: 7.984 kB / 0.8872 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.009945, allocations: 3.938 kB / 0.8873 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.009987, allocations: 139.2 kB / 0.8874 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009987, allocations: 0 / 0.8874 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001669/0.01015, allocations: 27.94 kB / 0.8874 GB, free: 12.9 MB / 0.8542 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.0001427/0.0103, allocations: 115.1 kB / 0.8875 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.0104, allocations: 51.67 kB / 0.8876 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.0104, allocations: 0 / 0.8876 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.01044, allocations: 39.59 kB / 0.8876 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.01063, allocations: 11.98 kB / 0.8876 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.01118, allocations: 206.8 kB / 0.8878 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.01136, allocations: 64.91 kB / 0.8879 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.01139, allocations: 8 kB / 0.8879 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.01142, allocations: 12.5 kB / 0.8879 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/0.01142, allocations: 0 / 0.8879 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.002749/0.01417, allocations: 1.066 MB / 0.8889 GB, free: 11.3 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.353761598002166]