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.0009403/0.0009403, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009754/0.0009754, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.364/2.364, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.492e-06/1.492e-06, allocations: 0 / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.812e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002941/0.002959, allocations: 1.711 MB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004143/0.007102, allocations: 3.417 MB / 0.8437 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.007164, allocations: 8 kB / 0.8437 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.007201, allocations: 7.875 kB / 0.8437 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.102e-05/0.007282, allocations: 15.8 kB / 0.8437 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.00782, allocations: 139.4 kB / 0.8438 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.007958, allocations: 79.72 kB / 0.8439 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.008041, allocations: 11.97 kB / 0.8439 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.008209, allocations: 63.83 kB / 0.844 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.008298, allocations: 31.89 kB / 0.844 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.008314, allocations: 4 kB / 0.844 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.008583, allocations: 107.7 kB / 0.8441 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.008601, allocations: 7.984 kB / 0.8441 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.008632, allocations: 23.92 kB / 0.8442 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.008857, allocations: 111.7 kB / 0.8443 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.008862, allocations: 7.984 kB / 0.8443 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.02e-07/0.008863, allocations: 0 / 0.8443 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.008866, allocations: 4 kB / 0.8443 GB, free: 8.371 MB / 0.8073 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.0004177/0.009284, allocations: 292.2 kB / 0.8446 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.009318, allocations: 8.625 kB / 0.8446 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.009502, allocations: 24.92 kB / 0.8446 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.009665, allocations: 129.6 kB / 0.8447 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.009677, allocations: 4.375 kB / 0.8447 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.009689, allocations: 4.375 kB / 0.8447 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.009825, allocations: 82.28 kB / 0.8448 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.009833, allocations: 0 / 0.8448 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.009842, allocations: 0 / 0.8448 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.009848, allocations: 4 kB / 0.8448 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.009922, allocations: 27.97 kB / 0.8448 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.01025, allocations: 204.1 kB / 0.845 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.01039, allocations: 70.48 kB / 0.8451 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.01042, allocations: 12.97 kB / 0.8451 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/0.01093, allocations: 326.8 kB / 0.8454 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.01096, allocations: 34.5 kB / 0.8454 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.624e-06/0.01096, allocations: 0 / 0.8454 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001753/0.01113, allocations: 65.92 kB / 0.8455 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.01117, allocations: 55.39 kB / 0.8456 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.13e-05/0.01125, allocations: 122.7 kB / 0.8457 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.01126, allocations: 25.7 kB / 0.8457 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.01131, allocations: 104.1 kB / 0.8458 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.01133, allocations: 23.75 kB / 0.8458 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.01138, allocations: 25.69 kB / 0.8458 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.01147, allocations: 322.8 kB / 0.8462 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.0115, allocations: 15.92 kB / 0.8462 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.01153, allocations: 17.72 kB / 0.8462 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.0116, allocations: 41.73 kB / 0.8462 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.0116, allocations: 4 kB / 0.8462 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001056/0.01171, allocations: 61.62 kB / 0.8463 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.01172, allocations: 8.031 kB / 0.8463 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.01173, allocations: 0 / 0.8463 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01174, allocations: 4 kB / 0.8463 GB, free: 6.113 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.01185, allocations: 15.98 kB / 0.8463 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.01186, allocations: 3.984 kB / 0.8463 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.01191, allocations: 15.83 kB / 0.8463 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.01192, allocations: 4 kB / 0.8463 GB, free: 6.074 MB / 0.8073 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.657e-05/0.01198, allocations: 113.8 kB / 0.8464 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.01202, allocations: 7.984 kB / 0.8465 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.01216, allocations: 74.11 kB / 0.8465 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01216, allocations: 0 / 0.8465 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.01217, allocations: 3.984 kB / 0.8465 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01217, allocations: 0 / 0.8465 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.01232, allocations: 93.8 kB / 0.8466 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01232, allocations: 0 / 0.8466 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/0.01241, allocations: 19.92 kB / 0.8466 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01241, allocations: 3.938 kB / 0.8466 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.01242, allocations: 4 kB / 0.8466 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01242, allocations: 0 / 0.8466 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01242, allocations: 4 kB / 0.8466 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.01255, allocations: 159.5 kB / 0.8468 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.01256, allocations: 7.953 kB / 0.8468 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.01258, allocations: 0 / 0.8468 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.01266, allocations: 4 kB / 0.8468 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.0127, allocations: 15.98 kB / 0.8468 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.01271, allocations: 0 / 0.8468 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.655e-05/0.01273, allocations: 20.83 kB / 0.8468 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01273, allocations: 0 / 0.8468 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002408/0.01297, allocations: 27.94 kB / 0.8469 GB, free: 5.477 MB / 0.8073 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.0001482/0.01312, allocations: 100.3 kB / 0.847 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.01323, allocations: 37.02 kB / 0.847 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.01323, allocations: 0 / 0.847 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.01328, allocations: 33.17 kB / 0.847 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.01347, allocations: 15.81 kB / 0.8471 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.01411, allocations: 217.1 kB / 0.8473 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.477e-05/0.01415, allocations: 63.34 kB / 0.8473 GB, free: 4.957 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.626e-05/0.01422, allocations: 15.84 kB / 0.8473 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/0.0143, allocations: 59.36 kB / 0.8474 GB, free: 4.883 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.0143, allocations: 0 / 0.8474 GB, free: 4.883 MB / 0.8073 GB Notification: Performance of Templates: time 0.00365/0.01795, allocations: 1.091 MB / 0.8485 GB, free: 3.805 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.009603675920516]