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.454/1.454, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0008928/0.0008928, allocations: 178.5 kB / 326.5 MB, free: 2.68 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.492/1.492, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008069/0.0008069, allocations: 89.36 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002934/0.0002933, allocations: 11.91 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1773, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.001491/0.1788, allocations: 1.49 MB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004652/0.1793, allocations: 237.7 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.1794, allocations: 4 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.405e-05/0.1795, allocations: 7.922 kB / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.1796, allocations: 47.62 kB / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.1798, allocations: 35.95 kB / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1799, allocations: 187.1 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.18, allocations: 25.77 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.1801, allocations: 59.78 kB / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1802, allocations: 79.66 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.1803, allocations: 8 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.426e-05/0.1803, allocations: 4 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.1803, allocations: 19.91 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.369e-05/0.1804, allocations: 67.66 kB / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.1805, allocations: 111.6 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1805, allocations: 0 / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1805, allocations: 7.938 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1805, allocations: 4 kB / 0.8991 GB, free: 65.76 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.0008025/0.1814, allocations: 466.9 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1814, allocations: 8.031 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.1815, allocations: 16.75 kB / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1816, allocations: 200 kB / 0.8997 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1816, allocations: 4.375 kB / 0.8997 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1816, allocations: 8.375 kB / 0.8997 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.1819, allocations: 162.2 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.182, allocations: 192 / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.182, allocations: 7.938 kB / 0.8999 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.182, allocations: 3.938 kB / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.1824, allocations: 151.9 kB / 0.9001 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007009/0.1831, allocations: 0.5005 MB / 0.9005 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.1836, allocations: 189.1 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.1838, allocations: 89.8 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1838, allocations: 0 / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.1842, allocations: 149 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.1842, allocations: 0 / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.000706/0.1849, allocations: 273.3 kB / 0.9012 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.1849, allocations: 85.11 kB / 0.9013 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1851, allocations: 175.2 kB / 0.9015 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1851, allocations: 33.64 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.1851, allocations: 108 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1852, allocations: 43.52 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.1852, allocations: 17.72 kB / 0.9017 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.1852, allocations: 334.7 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.1855, allocations: 83.89 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.1857, allocations: 94.36 kB / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.1861, allocations: 161.7 kB / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1861, allocations: 0 / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004689/0.1865, allocations: 217.3 kB / 0.9025 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1866, allocations: 8 kB / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1866, allocations: 320 / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1866, allocations: 0 / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.1868, allocations: 39.97 kB / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1868, allocations: 4 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.187, allocations: 40.06 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.187, allocations: 3.984 kB / 0.9026 GB, free: 61.88 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 (TRoo1.count,$PRE.TRoo1.count,TRoo1.T_start,$PRE.TRoo1.T_start,$whenCondition1) * 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 7.579e-05/0.1871, allocations: 122.5 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.1871, allocations: 11.91 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.1877, allocations: 230.8 kB / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1877, allocations: 4 kB / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1877, allocations: 0 / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1877, allocations: 11.86 kB / 0.903 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.1878, allocations: 233.5 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1879, allocations: 4 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.188, allocations: 31.97 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.188, allocations: 0 / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1881, allocations: 0 / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1881, allocations: 4 kB / 0.9032 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1881, allocations: 7.938 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.1885, allocations: 233.6 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.1886, allocations: 85.02 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.1886, allocations: 7.984 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.1888, allocations: 23.98 kB / 0.9036 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.1889, allocations: 23.91 kB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1889, allocations: 4 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.983e-05/0.189, allocations: 132.3 kB / 0.9037 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.189, allocations: 0 / 0.9037 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002076/0.1892, allocations: 36 kB / 0.9037 GB, free: 60.59 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 8.814e-05/0.1893, allocations: 107.1 kB / 0.9038 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.1898, allocations: 176 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1898, allocations: 4 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.19, allocations: 83.94 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1903, allocations: 57.64 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.1909, allocations: 332.2 kB / 0.9045 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.191, allocations: 0.7088 MB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.191, allocations: 19.44 kB / 0.9052 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.1911, allocations: 0 / 0.9052 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.003066/0.1941, allocations: 2.046 MB / 0.9072 GB, free: 57.04 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)