Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.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.0009337/0.0009337, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.001047/0.001047, allocations: 165 kB / 24.25 MB, free: 208 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.9596/0.9596, allocations: 177.2 MB / 204.7 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.934/1.934, allocations: 389.6 MB / 0.6355 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7754 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.216e-05, allocations: 6 kB / 0.7754 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.002713/0.002725, allocations: 2.311 MB / 0.7776 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003847, allocations: 0.9194 MB / 0.7785 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.003983, allocations: 15.88 kB / 0.7786 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.004135, allocations: 52 kB / 0.7786 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.004239, allocations: 71.38 kB / 0.7787 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.004847, allocations: 428.7 kB / 0.7791 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.005252, allocations: 0.6325 MB / 0.7797 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.005469, allocations: 182.3 kB / 0.7799 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.005698, allocations: 343.3 kB / 0.7802 GB, free: 328 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.005876, allocations: 171.5 kB / 0.7804 GB, free: 156 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/0.005937, allocations: 65 kB / 0.7804 GB, free: 92 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.00604, allocations: 79.98 kB / 0.7805 GB, free: 12 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.006103, allocations: 88.39 kB / 0.7806 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.006214, allocations: 179.6 kB / 0.7808 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.006563, allocations: 443.2 kB / 0.7812 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.006568, allocations: 4 kB / 0.7812 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.61e-07/0.006569, allocations: 1.5 kB / 0.7812 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.006573, allocations: 0 / 0.7812 GB, free: 15.31 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007686/0.007342, allocations: 0.6534 MB / 0.7818 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.007381, allocations: 14.47 kB / 0.7818 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.288e-05/0.007474, allocations: 60.88 kB / 0.7819 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.007754, allocations: 245.7 kB / 0.7821 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.007783, allocations: 34.12 kB / 0.7822 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.00782, allocations: 40.38 kB / 0.7822 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.008011, allocations: 203.3 kB / 0.7824 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.008022, allocations: 5.047 kB / 0.7824 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.00804, allocations: 16.36 kB / 0.7824 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.008046, allocations: 9.812 kB / 0.7824 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.258e-05/0.008129, allocations: 80.44 kB / 0.7825 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000676/0.008805, allocations: 0.5683 MB / 0.7831 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.009002, allocations: 138.2 kB / 0.7832 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.009109, allocations: 64.75 kB / 0.7833 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.009128, allocations: 4 kB / 0.7833 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004941/0.009622, allocations: 173.4 kB / 0.7834 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 1.954e-06/0.009624, allocations: 0.5625 kB / 0.7834 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36): time 0.0003212/0.009945, allocations: 203 kB / 0.7836 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.009989, allocations: 59.41 kB / 0.7837 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.01018, allocations: 240.9 kB / 0.7839 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.01022, allocations: 42.33 kB / 0.7839 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.01033, allocations: 185.3 kB / 0.7841 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.01039, allocations: 92.12 kB / 0.7842 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.01054, allocations: 113.9 kB / 0.7843 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01064, allocations: 347.4 kB / 0.7847 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.01082, allocations: 173.9 kB / 0.7848 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.01102, allocations: 244.3 kB / 0.785 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.0113, allocations: 294.4 kB / 0.7853 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.0113, allocations: 0 / 0.7853 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000425/0.01172, allocations: 489 kB / 0.7858 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.01177, allocations: 101.9 kB / 0.7859 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01178, allocations: 4 kB / 0.7859 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.01179, allocations: 4.531 kB / 0.7859 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.01189, allocations: 36.86 kB / 0.7859 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.0119, allocations: 4 kB / 0.7859 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.01208, allocations: 77.66 kB / 0.786 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.01211, allocations: 23.98 kB / 0.786 GB, free: 10.04 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,tunEnd.y,$PRE.tunEnd.y,tunEnd.clr,tunEnd.u,tunSta.y,$PRE.tunSta.y,tunSta.clr,tunSta.u,tOff.booPul.y,$PRE.tOff.booPul.y,tOnSig2.booPul.y,$PRE.tOnSig2.booPul.y,tOnSig1.booPul.y,$PRE.tOnSig1.booPul.y,tunMan.greThr1.y,tunMan.edgTunEnd.u,$PRE.tunMan.edgTunEnd.u,tunMan.edgTunSta.u,$PRE.tunMan.edgTunSta.u,tunMan.tDec.y,tunMan.tInc.y,tunMan.samAddtOntOff.y,$PRE.tunMan.samAddtOntOff.y,$whenCondition1,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001035/0.01221, allocations: 158 kB / 0.7862 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.01224, allocations: 31.97 kB / 0.7862 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.01241, allocations: 178 kB / 0.7864 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01241, allocations: 4 kB / 0.7864 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01241, allocations: 0 / 0.7864 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01242, allocations: 0 / 0.7864 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.01287, allocations: 462.5 kB / 0.7868 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01287, allocations: 4 kB / 0.7868 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.01292, allocations: 23.92 kB / 0.7869 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01293, allocations: 4 kB / 0.7869 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01294, allocations: 8 kB / 0.7869 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01294, allocations: 0 / 0.7869 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.01294, allocations: 3.938 kB / 0.7869 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.01311, allocations: 285.5 kB / 0.7871 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.01315, allocations: 27.81 kB / 0.7872 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01317, allocations: 11.98 kB / 0.7872 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.292e-05/0.01322, allocations: 4 kB / 0.7872 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.01327, allocations: 33.11 kB / 0.7872 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.01329, allocations: 15.92 kB / 0.7872 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.01334, allocations: 75.56 kB / 0.7873 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01334, allocations: 0 / 0.7873 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002063/0.01355, allocations: 113.5 kB / 0.7874 GB, free: 8.559 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 26 (tunEnd.u,tunMan.greThr1.y,tunSta.u,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,tunMan.samAddtOntOff.y,tunMan.tInc.y,tunMan.tDec.y,tunMan.edgTunSta.u,tunMan.edgTunEnd.u,tOnSig1.booPul.y,tOnSig2.booPul.y,tOff.booPul.y,tunSta.y,tunEnd.y,tunSta.clr,tunEnd.clr) * Number of discrete states: 2 (tunMan.edgTunSta.u,tunMan.edgTunEnd.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001095/0.01366, allocations: 103.4 kB / 0.7875 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.014, allocations: 0.4885 MB / 0.788 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.014, allocations: 0 / 0.788 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.01408, allocations: 91.56 kB / 0.7881 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.01433, allocations: 79.14 kB / 0.7882 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.01488, allocations: 0.5463 MB / 0.7887 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.578e-05/0.01494, allocations: 97.11 kB / 0.7888 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.09e-05/0.01501, allocations: 36.19 kB / 0.7888 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.01519, allocations: 139.3 kB / 0.7889 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of SimCode: time 1.092e-06/0.01519, allocations: 0 / 0.7889 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of Templates: time 0.007262/0.02245, allocations: 5.852 MB / 0.7947 GB, free: 1.305 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.095607191324234]