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.001376/0.001376, allocations: 89.06 kB / 19.65 MB, free: 284 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.001571/0.001571, allocations: 165 kB / 23.01 MB, free: 1.559 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.9401/0.9401, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.044/2.044, allocations: 429.5 MB / 0.6732 GB, free: 4.008 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.834e-06/1.834e-06, allocations: 0 / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.983e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003323/0.003353, allocations: 1.682 MB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004354/0.007706, allocations: 3.403 MB / 0.8832 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.007782, allocations: 4 kB / 0.8832 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.056e-05/0.007823, allocations: 7.922 kB / 0.8832 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/0.007911, allocations: 19.3 kB / 0.8832 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.008611, allocations: 143.3 kB / 0.8833 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.008758, allocations: 87.69 kB / 0.8834 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.00885, allocations: 8 kB / 0.8834 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.009036, allocations: 52.64 kB / 0.8835 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.967e-05/0.009136, allocations: 36.48 kB / 0.8835 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.009156, allocations: 8 kB / 0.8835 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.009456, allocations: 101 kB / 0.8836 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.009483, allocations: 11.98 kB / 0.8836 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.009531, allocations: 21.33 kB / 0.8837 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.009855, allocations: 119.6 kB / 0.8838 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.00986, allocations: 4 kB / 0.8838 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/0.009861, allocations: 0 / 0.8838 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.009867, allocations: 4 kB / 0.8838 GB, free: 0.5625 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.0005834/0.01045, allocations: 420.2 kB / 0.8842 GB, free: 120 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.0105, allocations: 12.03 kB / 0.8842 GB, free: 108 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.01073, allocations: 24.88 kB / 0.8842 GB, free: 84 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.01095, allocations: 136.5 kB / 0.8843 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.01097, allocations: 12.36 kB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.01099, allocations: 384 / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.01119, allocations: 94.17 kB / 0.8844 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.0112, allocations: 0 / 0.8844 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.01122, allocations: 4 kB / 0.8844 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.01123, allocations: 0 / 0.8844 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.01133, allocations: 31.97 kB / 0.8845 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.0118, allocations: 315.6 kB / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.012, allocations: 86.97 kB / 0.8849 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.858e-05/0.01205, allocations: 23.8 kB / 0.8849 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006444/0.0127, allocations: 444.1 kB / 0.8853 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.01273, allocations: 33.39 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.01273, allocations: 0 / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0002832/0.01301, allocations: 85.86 kB / 0.8854 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.01305, allocations: 59.33 kB / 0.8855 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.01317, allocations: 185 kB / 0.8857 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.01319, allocations: 29.7 kB / 0.8857 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.01326, allocations: 146.8 kB / 0.8858 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.01329, allocations: 27.75 kB / 0.8858 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.01334, allocations: 27.36 kB / 0.8859 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.0135, allocations: 0.4923 MB / 0.8864 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.001e-05/0.01354, allocations: 8 kB / 0.8864 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/0.01359, allocations: 35.36 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.8e-05/0.01369, allocations: 47.31 kB / 0.8864 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01369, allocations: 0 / 0.8864 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000169/0.01386, allocations: 85.56 kB / 0.8865 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.01388, allocations: 12.03 kB / 0.8865 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.01389, allocations: 0 / 0.8865 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.0139, allocations: 0 / 0.8865 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.01403, allocations: 15.98 kB / 0.8866 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.01404, allocations: 7.938 kB / 0.8866 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.0141, allocations: 11.89 kB / 0.8866 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.01411, allocations: 0 / 0.8866 GB, free: 13.46 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 9.051e-05/0.0142, allocations: 160.6 kB / 0.8867 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.01423, allocations: 11.94 kB / 0.8867 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.01446, allocations: 102.1 kB / 0.8868 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01446, allocations: 0 / 0.8868 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.01447, allocations: 11.94 kB / 0.8868 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01447, allocations: 0 / 0.8868 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.01463, allocations: 136.6 kB / 0.887 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01464, allocations: 0 / 0.887 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.01472, allocations: 15.98 kB / 0.887 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.01473, allocations: 0 / 0.887 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01474, allocations: 0 / 0.887 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01474, allocations: 4 kB / 0.887 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01474, allocations: 480 / 0.887 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.01494, allocations: 235.7 kB / 0.8872 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.01495, allocations: 11.95 kB / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.01497, allocations: 0 / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.01505, allocations: 7.984 kB / 0.8872 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.0151, allocations: 3.984 kB / 0.8872 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.01511, allocations: 15.91 kB / 0.8873 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.325e-05/0.01518, allocations: 135.2 kB / 0.8874 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01518, allocations: 0 / 0.8874 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003053/0.01548, allocations: 27.94 kB / 0.8874 GB, free: 12.52 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.0002191/0.0157, allocations: 115.2 kB / 0.8875 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.01586, allocations: 51.61 kB / 0.8876 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01586, allocations: 0 / 0.8876 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.708e-05/0.01592, allocations: 31.61 kB / 0.8876 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.01622, allocations: 8 kB / 0.8876 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008245/0.01705, allocations: 214.7 kB / 0.8878 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.593e-05/0.0171, allocations: 67.28 kB / 0.8879 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.232e-05/0.01716, allocations: 8 kB / 0.8879 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.01721, allocations: 12.5 kB / 0.8879 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of SimCode: time 9.12e-07/0.01721, allocations: 0 / 0.8879 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.004017/0.02122, allocations: 1.032 MB / 0.8889 GB, free: 10.95 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.43442330788821]