Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001019, allocations: 173.2 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 0.5786 GB, free: 20.09 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007605/0.0007604, allocations: 93.97 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 12.45 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1877, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.001527/0.1893, allocations: 1.463 MB / 0.9029 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004395/0.1898, allocations: 244.1 kB / 0.9031 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.1899, allocations: 0 / 0.9031 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.1899, allocations: 7.922 kB / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.19, allocations: 47.62 kB / 0.9032 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.1902, allocations: 35.95 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1904, allocations: 187.1 kB / 0.9034 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1905, allocations: 25.42 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.151e-05/0.1906, allocations: 59.84 kB / 0.9035 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.1907, allocations: 75.67 kB / 0.9035 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1907, allocations: 4 kB / 0.9035 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.545e-05/0.1907, allocations: 8 kB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.1908, allocations: 23.89 kB / 0.9036 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.254e-05/0.1908, allocations: 97.36 kB / 0.9037 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.191, allocations: 115.9 kB / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.191, allocations: 0 / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.422e-06/0.191, allocations: 0 / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.191, allocations: 0 / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000816/0.1918, allocations: 466.9 kB / 0.9042 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1918, allocations: 8.031 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.1919, allocations: 20.69 kB / 0.9043 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.192, allocations: 196.1 kB / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.192, allocations: 4.375 kB / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.1921, allocations: 8.375 kB / 0.9045 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.1924, allocations: 160.7 kB / 0.9046 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1924, allocations: 192 / 0.9046 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1924, allocations: 3.938 kB / 0.9046 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1924, allocations: 8 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.1928, allocations: 147.9 kB / 0.9048 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.1936, allocations: 0.5005 MB / 0.9052 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.1941, allocations: 185.1 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.1943, allocations: 89.8 kB / 0.9055 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1943, allocations: 4 kB / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/0.1947, allocations: 157 kB / 0.9057 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.1947, allocations: 3.938 kB / 0.9057 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0007249/0.1954, allocations: 281.4 kB / 0.9059 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1955, allocations: 81.09 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1956, allocations: 171.2 kB / 0.9062 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1956, allocations: 33.7 kB / 0.9062 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.1957, allocations: 112.1 kB / 0.9063 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.1957, allocations: 43.33 kB / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.1957, allocations: 4 kB / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.1958, allocations: 330.8 kB / 0.9067 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.196, allocations: 75.94 kB / 0.9068 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.1962, allocations: 101.7 kB / 0.9068 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.1966, allocations: 153.6 kB / 0.907 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1966, allocations: 0 / 0.907 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004711/0.1971, allocations: 221.3 kB / 0.9072 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1971, allocations: 4 kB / 0.9072 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1971, allocations: 0 / 0.9072 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1972, allocations: 4 kB / 0.9072 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.1974, allocations: 43.91 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1974, allocations: 3.938 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.1976, allocations: 35.77 kB / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.1976, allocations: 7.984 kB / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.005e-05/0.1977, allocations: 126.5 kB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.1977, allocations: 11.91 kB / 0.9074 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005192/0.1982, allocations: 222.9 kB / 0.9076 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1982, allocations: 0 / 0.9076 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1983, allocations: 4 kB / 0.9076 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1983, allocations: 4.312 kB / 0.9077 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1984, allocations: 233.5 kB / 0.9079 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1984, allocations: 4 kB / 0.9079 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.1986, allocations: 35.97 kB / 0.9079 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1986, allocations: 4 kB / 0.9079 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1986, allocations: 4 kB / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1986, allocations: 3.938 kB / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1987, allocations: 0 / 0.9079 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.1991, allocations: 241.7 kB / 0.9082 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.1992, allocations: 88.95 kB / 0.9082 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1992, allocations: 8 kB / 0.9082 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1994, allocations: 23.97 kB / 0.9083 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.1994, allocations: 19.92 kB / 0.9083 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1995, allocations: 7.984 kB / 0.9083 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.233e-05/0.1995, allocations: 136.2 kB / 0.9084 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1995, allocations: 0 / 0.9084 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002226/0.1998, allocations: 32 kB / 0.9085 GB, free: 55.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001075/0.1999, allocations: 111.2 kB / 0.9086 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004764/0.2004, allocations: 175.9 kB / 0.9087 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2004, allocations: 4 kB / 0.9087 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.2006, allocations: 87.94 kB / 0.9088 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.201, allocations: 43.72 kB / 0.9089 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.2015, allocations: 336.4 kB / 0.9092 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.2016, allocations: 0.7088 MB / 0.9099 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.2017, allocations: 15.44 kB / 0.9099 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of SimCode: time 1.332e-06/0.2017, allocations: 0 / 0.9099 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.003274/0.205, allocations: 2.065 MB / 0.9119 GB, free: 52.36 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1)