Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009698/0.0009698, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.0009566/0.0009566, allocations: 165 kB / 24.17 MB, free: 324 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 0.9533/0.9533, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.89/1.89, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.331e-05, allocations: 3.812 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.0031/0.003123, allocations: 1.72 MB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004273/0.007396, allocations: 3.416 MB / 0.7651 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.007464, allocations: 4 kB / 0.7651 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.007502, allocations: 9.797 kB / 0.7651 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.602e-05/0.007588, allocations: 11.86 kB / 0.7651 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.008172, allocations: 141.3 kB / 0.7653 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.008315, allocations: 87.62 kB / 0.7654 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.008412, allocations: 12 kB / 0.7654 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.008608, allocations: 59.12 kB / 0.7654 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.312e-05/0.008701, allocations: 27.91 kB / 0.7655 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.00872, allocations: 4 kB / 0.7655 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.00902, allocations: 103.7 kB / 0.7656 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.009044, allocations: 15.92 kB / 0.7656 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.009082, allocations: 27.91 kB / 0.7656 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.009352, allocations: 115.6 kB / 0.7657 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.009358, allocations: 3.031 kB / 0.7657 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.352e-06/0.009359, allocations: 0 / 0.7657 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.009364, allocations: 0 / 0.7657 GB, free: 0.8359 MB / 0.7136 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.0005088/0.009873, allocations: 292.5 kB / 0.766 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.009918, allocations: 8.031 kB / 0.766 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.01016, allocations: 26.41 kB / 0.766 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.01036, allocations: 133.7 kB / 0.7661 GB, free: 348 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.01038, allocations: 384 / 0.7661 GB, free: 348 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.01039, allocations: 8.375 kB / 0.7662 GB, free: 340 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.01056, allocations: 76.27 kB / 0.7662 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.01057, allocations: 8.109 kB / 0.7662 GB, free: 248 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.01058, allocations: 8.125 kB / 0.7662 GB, free: 240 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.01059, allocations: 1.281 kB / 0.7662 GB, free: 240 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.042e-05/0.01066, allocations: 23.97 kB / 0.7663 GB, free: 216 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.01106, allocations: 196.2 kB / 0.7665 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.01122, allocations: 71.16 kB / 0.7665 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/0.01125, allocations: 17.48 kB / 0.7665 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006882/0.01194, allocations: 325.9 kB / 0.7669 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.01197, allocations: 30.56 kB / 0.7669 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.01197, allocations: 0 / 0.7669 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001871/0.01215, allocations: 73.88 kB / 0.767 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.01219, allocations: 52.91 kB / 0.767 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.01227, allocations: 126.7 kB / 0.7671 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.01228, allocations: 25.7 kB / 0.7671 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.01233, allocations: 92.08 kB / 0.7672 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.01236, allocations: 32.7 kB / 0.7673 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.0124, allocations: 21.7 kB / 0.7673 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.0125, allocations: 326.8 kB / 0.7676 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.01252, allocations: 8.594 kB / 0.7676 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.01256, allocations: 22.3 kB / 0.7676 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.01263, allocations: 42.28 kB / 0.7677 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.01263, allocations: 112 / 0.7677 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001131/0.01275, allocations: 62.17 kB / 0.7677 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.01276, allocations: 5.375 kB / 0.7677 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.01277, allocations: 0 / 0.7677 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.01279, allocations: 7.938 kB / 0.7677 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.01291, allocations: 21.61 kB / 0.7678 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.01291, allocations: 400 / 0.7678 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.01297, allocations: 11.94 kB / 0.7678 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.01298, allocations: 4 kB / 0.7678 GB, free: 14.56 MB / 0.7292 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.4e-05/0.01305, allocations: 116.2 kB / 0.7679 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.01308, allocations: 7.984 kB / 0.7679 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.01325, allocations: 86 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01325, allocations: 0 / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01325, allocations: 0 / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01326, allocations: 2.062 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.01341, allocations: 89.83 kB / 0.7681 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01341, allocations: 3.938 kB / 0.7681 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-05/0.01351, allocations: 15.98 kB / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.01351, allocations: 4 kB / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.01352, allocations: 0 / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01352, allocations: 1.656 kB / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01352, allocations: 0 / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.01367, allocations: 155.5 kB / 0.7682 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.01368, allocations: 11.89 kB / 0.7682 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.0137, allocations: 10.73 kB / 0.7683 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.01378, allocations: 4 kB / 0.7683 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.01382, allocations: 7.984 kB / 0.7683 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.01383, allocations: 0 / 0.7683 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.045e-05/0.01386, allocations: 23.34 kB / 0.7683 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01386, allocations: 0 / 0.7683 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002517/0.01411, allocations: 23.94 kB / 0.7683 GB, free: 13.96 MB / 0.7292 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.0001828/0.01429, allocations: 107.7 kB / 0.7684 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.0144, allocations: 36.78 kB / 0.7685 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.0144, allocations: 4 kB / 0.7685 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.01444, allocations: 16.86 kB / 0.7685 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.01465, allocations: 15.92 kB / 0.7685 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006855/0.01533, allocations: 214.4 kB / 0.7687 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.462e-05/0.01538, allocations: 63.34 kB / 0.7688 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.632e-05/0.01544, allocations: 10.77 kB / 0.7688 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.01553, allocations: 59.36 kB / 0.7688 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of SimCode: time 9.21e-07/0.01553, allocations: 0 / 0.7688 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.003307/0.01883, allocations: 1.085 MB / 0.7699 GB, free: 12.38 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 4.701216564979404]