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.001276/0.001276, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001403/0.001403, allocations: 169 kB / 23.02 MB, free: 1.551 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.8827/0.8827, allocations: 177.1 MB / 203.4 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.012/2.012, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.883e-06/1.883e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.262e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002969/0.002992, allocations: 1.68 MB / 0.8799 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003333/0.006325, allocations: 3.408 MB / 0.8832 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/0.006377, allocations: 4.594 kB / 0.8832 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.006406, allocations: 4.688 kB / 0.8832 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.733e-05/0.006474, allocations: 16.94 kB / 0.8832 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.006965, allocations: 149.3 kB / 0.8834 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.007072, allocations: 83.69 kB / 0.8834 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.00715, allocations: 8 kB / 0.8834 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.007292, allocations: 67.25 kB / 0.8835 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.007359, allocations: 27.91 kB / 0.8835 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.007373, allocations: 4 kB / 0.8835 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.007553, allocations: 91.78 kB / 0.8836 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.007569, allocations: 15.92 kB / 0.8836 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.0076, allocations: 27.91 kB / 0.8837 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.007781, allocations: 115.6 kB / 0.8838 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.007783, allocations: 1.094 kB / 0.8838 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.21e-07/0.007784, allocations: 0 / 0.8838 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.007789, allocations: 0 / 0.8838 GB, free: 0.5977 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.0004106/0.008199, allocations: 421.8 kB / 0.8842 GB, free: 156 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.008235, allocations: 8.031 kB / 0.8842 GB, free: 148 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.008373, allocations: 30.02 kB / 0.8842 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.008536, allocations: 139.2 kB / 0.8843 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.008547, allocations: 4.375 kB / 0.8843 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.008558, allocations: 8.375 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.008704, allocations: 94.09 kB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.008712, allocations: 0 / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.008723, allocations: 4 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.00873, allocations: 0 / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.603e-05/0.008796, allocations: 31.97 kB / 0.8845 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.009127, allocations: 319.6 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.009264, allocations: 78.98 kB / 0.8849 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.009302, allocations: 27.67 kB / 0.8849 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/0.009705, allocations: 440.2 kB / 0.8853 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.009728, allocations: 33.39 kB / 0.8853 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.009729, allocations: 0 / 0.8853 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001968/0.009926, allocations: 97.83 kB / 0.8854 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.009955, allocations: 55.34 kB / 0.8855 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.01005, allocations: 189.9 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.01006, allocations: 25.81 kB / 0.8857 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.01011, allocations: 142.8 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.01013, allocations: 27.75 kB / 0.8859 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.01016, allocations: 31.36 kB / 0.8859 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.01028, allocations: 496.1 kB / 0.8864 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.01031, allocations: 15.98 kB / 0.8864 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.91e-05/0.01035, allocations: 31.36 kB / 0.8864 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.01041, allocations: 51.31 kB / 0.8865 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01042, allocations: 0 / 0.8865 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001036/0.01052, allocations: 85.56 kB / 0.8865 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.01053, allocations: 8 kB / 0.8865 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.01054, allocations: 0 / 0.8865 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01055, allocations: 0 / 0.8865 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.01063, allocations: 19.98 kB / 0.8866 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01064, allocations: 3.938 kB / 0.8866 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.01067, allocations: 11.89 kB / 0.8866 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.01068, allocations: 4 kB / 0.8866 GB, free: 13.49 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 6.669e-05/0.01074, allocations: 156.6 kB / 0.8867 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.01076, allocations: 15.98 kB / 0.8867 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.01091, allocations: 94.14 kB / 0.8868 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01091, allocations: 4 kB / 0.8868 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01092, allocations: 3.938 kB / 0.8868 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01092, allocations: 0 / 0.8868 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.01103, allocations: 136.6 kB / 0.887 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01103, allocations: 0 / 0.887 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.01108, allocations: 19.98 kB / 0.887 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.01108, allocations: 0 / 0.887 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.01109, allocations: 4 kB / 0.887 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.01109, allocations: 4 kB / 0.887 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01109, allocations: 480 / 0.887 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.01123, allocations: 239.7 kB / 0.8872 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.01124, allocations: 7.953 kB / 0.8872 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.01125, allocations: 0 / 0.8872 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.01129, allocations: 7.938 kB / 0.8872 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.01133, allocations: 7.984 kB / 0.8872 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.01133, allocations: 7.938 kB / 0.8873 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.01138, allocations: 135.2 kB / 0.8874 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01138, allocations: 0 / 0.8874 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001688/0.01154, allocations: 27.94 kB / 0.8874 GB, free: 12.55 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.00015/0.01169, allocations: 115.2 kB / 0.8875 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.01181, allocations: 51.59 kB / 0.8876 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01181, allocations: 0 / 0.8876 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.01185, allocations: 35.61 kB / 0.8876 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.01203, allocations: 4 kB / 0.8876 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.01257, allocations: 214.7 kB / 0.8878 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.952e-05/0.01261, allocations: 63.3 kB / 0.8879 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.401e-05/0.01265, allocations: 11.98 kB / 0.8879 GB, free: 12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.01268, allocations: 12.5 kB / 0.8879 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.01268, allocations: 0 / 0.8879 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of Templates: time 0.002782/0.01547, allocations: 1.124 MB / 0.889 GB, free: 10.89 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.0927389352582395]