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.0009292/0.0009292, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009344/0.0009344, allocations: 161 kB / 24.17 MB, free: 332 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.9258/0.9258, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.775/1.775, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.433e-06/1.433e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.347e-05, allocations: 6.25 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001765/0.001778, allocations: 1.673 MB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.004453, allocations: 3.421 MB / 0.765 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.481e-05/0.004548, allocations: 5.25 kB / 0.765 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.004577, allocations: 7.875 kB / 0.765 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.168e-05/0.004639, allocations: 20.81 kB / 0.7651 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.005046, allocations: 141.3 kB / 0.7652 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.917e-05/0.005135, allocations: 87.64 kB / 0.7653 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.82e-05/0.005194, allocations: 7.984 kB / 0.7653 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.005299, allocations: 64.38 kB / 0.7653 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.005357, allocations: 30.97 kB / 0.7654 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.005368, allocations: 4 kB / 0.7654 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.005521, allocations: 99.72 kB / 0.7655 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.005536, allocations: 15.92 kB / 0.7655 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.005558, allocations: 19.97 kB / 0.7655 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.005709, allocations: 119.6 kB / 0.7656 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.00571, allocations: 0 / 0.7656 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005711, allocations: 3.031 kB / 0.7656 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.645e-06/0.005714, allocations: 0 / 0.7656 GB, free: 0.9375 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.000294/0.006008, allocations: 288.5 kB / 0.7659 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.581e-05/0.006033, allocations: 8.031 kB / 0.7659 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.006139, allocations: 24.91 kB / 0.7659 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.006252, allocations: 139.1 kB / 0.7661 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.006258, allocations: 384 / 0.7661 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.006268, allocations: 8.375 kB / 0.7661 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.163e-05/0.00636, allocations: 74.91 kB / 0.7661 GB, free: 360 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-06/0.006365, allocations: 0.9375 kB / 0.7661 GB, free: 360 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.006373, allocations: 8.125 kB / 0.7662 GB, free: 352 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.006376, allocations: 0.75 kB / 0.7662 GB, free: 352 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.417e-05/0.00642, allocations: 23.92 kB / 0.7662 GB, free: 328 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.006635, allocations: 202.3 kB / 0.7664 GB, free: 112 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/0.006727, allocations: 70.55 kB / 0.7664 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.006748, allocations: 16.86 kB / 0.7665 GB, free: 12 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/0.007075, allocations: 320.6 kB / 0.7668 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.007093, allocations: 39.86 kB / 0.7668 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.007094, allocations: 0 / 0.7668 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001143/0.007209, allocations: 69.67 kB / 0.7669 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.007233, allocations: 52.84 kB / 0.7669 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.425e-05/0.007288, allocations: 125.9 kB / 0.767 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.007297, allocations: 25.7 kB / 0.7671 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.007329, allocations: 96.06 kB / 0.7671 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.007345, allocations: 32.98 kB / 0.7672 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.007381, allocations: 25.7 kB / 0.7672 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.007446, allocations: 318.8 kB / 0.7675 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.007462, allocations: 12.52 kB / 0.7675 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.007485, allocations: 21.66 kB / 0.7675 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.121e-05/0.007526, allocations: 38.47 kB / 0.7676 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.007529, allocations: 4.609 kB / 0.7676 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.261e-05/0.007592, allocations: 62.31 kB / 0.7676 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.007601, allocations: 4 kB / 0.7676 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007606, allocations: 4.531 kB / 0.7676 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.007615, allocations: 0.625 kB / 0.7676 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.00768, allocations: 15.98 kB / 0.7677 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.007682, allocations: 0.5312 kB / 0.7677 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/0.00771, allocations: 13.42 kB / 0.7677 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.007716, allocations: 4.109 kB / 0.7677 GB, free: 14.67 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 5.081e-05/0.007766, allocations: 121.7 kB / 0.7678 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.007781, allocations: 4.969 kB / 0.7678 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.509e-05/0.007876, allocations: 82.45 kB / 0.7679 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007878, allocations: 0.5938 kB / 0.7679 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.007879, allocations: 0.5938 kB / 0.7679 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.007881, allocations: 0 / 0.7679 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.81e-05/0.007969, allocations: 90.48 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.007972, allocations: 7.922 kB / 0.768 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.00801, allocations: 16.56 kB / 0.768 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.008011, allocations: 5.469 kB / 0.768 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.008017, allocations: 3.984 kB / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.008019, allocations: 4 kB / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.008019, allocations: 0 / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.832e-05/0.008098, allocations: 153.4 kB / 0.7682 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.008109, allocations: 19.86 kB / 0.7682 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.008117, allocations: 0 / 0.7682 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.008155, allocations: 4 kB / 0.7682 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.00818, allocations: 3.984 kB / 0.7682 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.008185, allocations: 10.44 kB / 0.7682 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.431e-05/0.008199, allocations: 16.84 kB / 0.7682 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.008199, allocations: 0 / 0.7682 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001407/0.00834, allocations: 23.94 kB / 0.7682 GB, free: 14.07 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.0001092/0.008449, allocations: 106.1 kB / 0.7683 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.596e-05/0.008515, allocations: 32.84 kB / 0.7684 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.008517, allocations: 0 / 0.7684 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.519e-05/0.008542, allocations: 28.78 kB / 0.7684 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.008662, allocations: 13 kB / 0.7684 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.009074, allocations: 213.5 kB / 0.7686 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.997e-05/0.009114, allocations: 63.34 kB / 0.7687 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.697e-05/0.009151, allocations: 19.17 kB / 0.7687 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.009203, allocations: 55.38 kB / 0.7687 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/0.009203, allocations: 0 / 0.7687 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.002559/0.01176, allocations: 1.072 MB / 0.7698 GB, free: 12.48 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 -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.715123860165477]