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.001696/0.001696, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001652/0.001652, allocations: 169.4 kB / 24.06 MB, free: 456 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 1.017/1.017, allocations: 177.1 MB / 204.5 MB, free: 5.5 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 1.988/1.988, allocations: 429.5 MB / 0.6743 GB, free: 3.898 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.382e-06/1.382e-06, allocations: 0 / 0.8794 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.396e-05, allocations: 5.5 kB / 0.8794 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002248/0.002272, allocations: 1.666 MB / 0.8811 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.005596, allocations: 3.387 MB / 0.8844 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.005662, allocations: 0 / 0.8844 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.005695, allocations: 7.922 kB / 0.8844 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/0.005763, allocations: 18.28 kB / 0.8844 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.006269, allocations: 147.3 kB / 0.8845 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.006381, allocations: 79.7 kB / 0.8846 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.72e-05/0.006458, allocations: 14.05 kB / 0.8846 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.006599, allocations: 59.77 kB / 0.8847 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.961e-05/0.006669, allocations: 35.94 kB / 0.8847 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.006682, allocations: 4 kB / 0.8847 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.006873, allocations: 96.44 kB / 0.8848 GB, free: 488 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.006891, allocations: 15.92 kB / 0.8848 GB, free: 472 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.006914, allocations: 21.64 kB / 0.8849 GB, free: 452 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.007092, allocations: 115.6 kB / 0.885 GB, free: 336 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.007095, allocations: 0 / 0.885 GB, free: 336 kB / 0.8386 GB Notification: Performance of FrontEnd: time 8.62e-07/0.007096, allocations: 3.938 kB / 0.885 GB, free: 332 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.0071, allocations: 1.188 kB / 0.885 GB, free: 332 kB / 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.0003833/0.007484, allocations: 424.2 kB / 0.8854 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.007513, allocations: 12.03 kB / 0.8854 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.007645, allocations: 24.88 kB / 0.8854 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.007781, allocations: 143.2 kB / 0.8855 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.00779, allocations: 8.375 kB / 0.8856 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.007798, allocations: 8.312 kB / 0.8856 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.00791, allocations: 78.23 kB / 0.8856 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.007916, allocations: 0 / 0.8856 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-06/0.007923, allocations: 0 / 0.8856 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007928, allocations: 4 kB / 0.8856 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.398e-05/0.007972, allocations: 31.97 kB / 0.8857 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.008264, allocations: 296.2 kB / 0.886 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.008377, allocations: 78.92 kB / 0.886 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.008404, allocations: 27.67 kB / 0.8861 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/0.008795, allocations: 428.2 kB / 0.8865 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.008818, allocations: 37.39 kB / 0.8865 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.008819, allocations: 0 / 0.8865 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001662/0.008986, allocations: 81.84 kB / 0.8866 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.009018, allocations: 59.39 kB / 0.8866 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.009095, allocations: 181.8 kB / 0.8868 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.00911, allocations: 33.7 kB / 0.8868 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.009166, allocations: 130.9 kB / 0.887 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.009184, allocations: 31.73 kB / 0.887 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.009224, allocations: 35.34 kB / 0.887 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.009333, allocations: 0.4884 MB / 0.8875 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.009354, allocations: 11.98 kB / 0.8875 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.937e-05/0.009383, allocations: 31.3 kB / 0.8875 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.009436, allocations: 47.36 kB / 0.8876 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009439, allocations: 0 / 0.8876 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.655e-05/0.009535, allocations: 69.58 kB / 0.8877 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.009549, allocations: 11.98 kB / 0.8877 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.009553, allocations: 0 / 0.8877 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.009561, allocations: 3.984 kB / 0.8877 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.009638, allocations: 20.03 kB / 0.8877 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.009642, allocations: 3.984 kB / 0.8877 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.009675, allocations: 19.83 kB / 0.8877 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.00968, allocations: 0 / 0.8877 GB, free: 13.28 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.531e-05/0.009745, allocations: 160.5 kB / 0.8879 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.009767, allocations: 12.06 kB / 0.8879 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.009898, allocations: 86.2 kB / 0.888 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.0099, allocations: 4 kB / 0.888 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.009901, allocations: 0 / 0.888 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.009906, allocations: 7.938 kB / 0.888 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.01001, allocations: 113.2 kB / 0.8881 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01001, allocations: 0 / 0.8881 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.01006, allocations: 19.98 kB / 0.8881 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01006, allocations: 0 / 0.8881 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.01007, allocations: 0 / 0.8881 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01007, allocations: 4.469 kB / 0.8881 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01007, allocations: 3.984 kB / 0.8881 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.01047, allocations: 231.7 kB / 0.8883 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-06/0.01048, allocations: 3.953 kB / 0.8883 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.01049, allocations: 0 / 0.8883 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.757e-05/0.01054, allocations: 15.98 kB / 0.8884 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.01057, allocations: 7.984 kB / 0.8884 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.01057, allocations: 0 / 0.8884 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.865e-05/0.01061, allocations: 131.2 kB / 0.8885 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01061, allocations: 0 / 0.8885 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001762/0.01079, allocations: 27.94 kB / 0.8885 GB, free: 12.4 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.0001516/0.01094, allocations: 115.2 kB / 0.8886 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.01103, allocations: 55.48 kB / 0.8887 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01103, allocations: 0 / 0.8887 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/0.01106, allocations: 31.61 kB / 0.8887 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.01125, allocations: 11.98 kB / 0.8887 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.01172, allocations: 202.8 kB / 0.8889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.202e-05/0.01175, allocations: 60.97 kB / 0.889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.018e-05/0.01179, allocations: 4 kB / 0.889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.01185, allocations: 90.12 kB / 0.8891 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.01185, allocations: 0 / 0.8891 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of Templates: time 0.002857/0.01471, allocations: 1.157 MB / 0.8902 GB, free: 10.64 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.211864117067307]