Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 192.2 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.709/2.709, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 71.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7275/0.7294, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002758/0.7322, allocations: 1.613 MB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003837/0.736, allocations: 3.308 MB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.7361, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.983e-05/0.7361, allocations: 7.922 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.7362, allocations: 11.86 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.7366, allocations: 119.5 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.7367, allocations: 83.7 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.115e-05/0.7368, allocations: 8.172 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.7369, allocations: 39.86 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.651e-05/0.737, allocations: 43.81 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.737, allocations: 8 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.7373, allocations: 103.8 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.7373, allocations: 11.92 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.7374, allocations: 39.84 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.7376, allocations: 118.3 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7376, allocations: 0 / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.183e-06/0.7376, allocations: 0 / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.7376, allocations: 4 kB / 1.279 GB, free: 15.02 MB / 0.9825 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.00058/0.7382, allocations: 383.1 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.7382, allocations: 12.03 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.7382, allocations: 12.83 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.7384, allocations: 184.1 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.7384, allocations: 4.375 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.7384, allocations: 8.375 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.7386, allocations: 85.58 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7386, allocations: 0 / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.7387, allocations: 0 / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.7387, allocations: 0 / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.7389, allocations: 75.94 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.7394, allocations: 332.6 kB / 1.281 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.7396, allocations: 82.55 kB / 1.281 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.7397, allocations: 40.83 kB / 1.281 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008515/0.7406, allocations: 0.7568 MB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.7406, allocations: 34.56 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.7406, allocations: 0 / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004026/0.741, allocations: 141.5 kB / 1.282 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.741, allocations: 55.41 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.7411, allocations: 121.8 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.7412, allocations: 25.7 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.7412, allocations: 96.09 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.7413, allocations: 31.72 kB / 1.282 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.7413, allocations: 21.72 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7414, allocations: 322.8 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-05/0.7415, allocations: 32.02 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.7416, allocations: 45.69 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.7418, allocations: 81.98 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7418, allocations: 0 / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002435/0.7421, allocations: 117.5 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.7421, allocations: 4 kB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.7421, allocations: 0 / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.7421, allocations: 7.922 kB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.7422, allocations: 19.98 kB / 1.282 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.7422, allocations: 0 / 1.282 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.709e-05/0.7423, allocations: 7.938 kB / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.7423, allocations: 7.984 kB / 1.282 GB, free: 11.57 MB / 0.9825 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 8.711e-05/0.7424, allocations: 121.8 kB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.7424, allocations: 7.953 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.7428, allocations: 118 kB / 1.283 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.7428, allocations: 7.938 kB / 1.283 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7428, allocations: 0 / 1.283 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.7428, allocations: 3.984 kB / 1.283 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.743, allocations: 189.8 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.743, allocations: 4 kB / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.7431, allocations: 23.86 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.7431, allocations: 0 / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.7431, allocations: 4 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.7431, allocations: 7.938 kB / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7431, allocations: 0 / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.7434, allocations: 199.5 kB / 1.283 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.7434, allocations: 85.05 kB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.7435, allocations: 8 kB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.7436, allocations: 7.938 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.7436, allocations: 3.984 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.7436, allocations: 4 kB / 1.283 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.01e-05/0.7437, allocations: 91.27 kB / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7437, allocations: 0 / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002561/0.7439, allocations: 23.94 kB / 1.283 GB, free: 10.58 MB / 0.9825 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.0001986/0.7441, allocations: 127.6 kB / 1.283 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.7444, allocations: 71.95 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.7444, allocations: 0 / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.7445, allocations: 39.92 kB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.7448, allocations: 12.06 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.7452, allocations: 225.8 kB / 1.284 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.7455, allocations: 0.6961 MB / 1.284 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.036e-05/0.7456, allocations: 4.547 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.7456, allocations: 15.42 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.7456, allocations: 0 / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of Templates: time 0.00375/0.7494, allocations: 1.062 MB / 1.286 GB, free: 8.281 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.32380460202694]