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.00191/0.00191, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002144/0.002144, allocations: 173.6 kB / 23.23 MB, free: 1.328 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.612/1.612, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 178] 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 3.395/3.395, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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 2.485e-06/2.485e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.213e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.004287/0.004319, allocations: 2.206 MB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.006129, allocations: 0.9147 MB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.006324, allocations: 15.94 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.006518, allocations: 51.34 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.006678, allocations: 67.38 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.007696, allocations: 446.2 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007836/0.008479, allocations: 0.6286 MB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.008824, allocations: 179.1 kB / 1.006 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.009239, allocations: 339.4 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.009515, allocations: 175.4 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.009622, allocations: 68 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.009769, allocations: 75.98 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.974e-05/0.009869, allocations: 91.67 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.0101, allocations: 183.6 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009708/0.01107, allocations: 0.7867 MB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.01108, allocations: 0 / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.512e-06/0.01108, allocations: 0 / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.01109, allocations: 0 / 1.007 GB, free: 6.789 MB / 0.9636 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.001308/0.0124, allocations: 0.7055 MB / 1.008 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.01245, allocations: 13.34 kB / 1.008 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.01258, allocations: 44.7 kB / 1.008 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/0.01313, allocations: 301.1 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.01318, allocations: 37.02 kB / 1.008 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.024e-05/0.01326, allocations: 44.38 kB / 1.008 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.01378, allocations: 274.6 kB / 1.009 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.0138, allocations: 192 / 1.009 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.01383, allocations: 16.38 kB / 1.009 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.01384, allocations: 8.375 kB / 1.009 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.01424, allocations: 194.5 kB / 1.009 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.01578, allocations: 0.8008 MB / 1.01 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.01649, allocations: 218.9 kB / 1.01 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.01673, allocations: 97.25 kB / 1.01 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.01676, allocations: 11.88 kB / 1.01 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.01714, allocations: 196.7 kB / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 1.894e-06/0.01714, allocations: 0 / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36): time 0.0007564/0.0179, allocations: 385.6 kB / 1.01 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.01797, allocations: 67.33 kB / 1.01 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.01829, allocations: 261.8 kB / 1.011 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.01835, allocations: 41.7 kB / 1.011 GB, free: 2.949 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.01855, allocations: 192.9 kB / 1.011 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.162e-05/0.01864, allocations: 87.31 kB / 1.011 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.01885, allocations: 114 kB / 1.011 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.01907, allocations: 342.7 kB / 1.011 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.0195, allocations: 257.9 kB / 1.012 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.01999, allocations: 335.6 kB / 1.012 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/0.02057, allocations: 387.7 kB / 1.012 GB, free: 1.145 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02057, allocations: 0 / 1.012 GB, free: 1.145 MB / 0.9636 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001138/0.02171, allocations: 0.6789 MB / 1.013 GB, free: 432 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.02182, allocations: 101 kB / 1.013 GB, free: 312 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.02183, allocations: 4 kB / 1.013 GB, free: 308 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.02185, allocations: 8.219 kB / 1.013 GB, free: 300 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.022, allocations: 31.92 kB / 1.013 GB, free: 268 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.02201, allocations: 4 kB / 1.013 GB, free: 264 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.02256, allocations: 103.7 kB / 1.013 GB, free: 160 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.02262, allocations: 31.92 kB / 1.013 GB, free: 128 kB / 0.9636 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.0002534/0.02287, allocations: 176.4 kB / 1.014 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.02292, allocations: 27.81 kB / 1.014 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005595/0.02348, allocations: 312.3 kB / 1.014 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.02349, allocations: 4 kB / 1.014 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.02349, allocations: 0 / 1.014 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.0235, allocations: 3.984 kB / 1.014 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.02468, allocations: 0.6949 MB / 1.015 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.02468, allocations: 4 kB / 1.015 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.02479, allocations: 27.92 kB / 1.015 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.02479, allocations: 0 / 1.015 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.02481, allocations: 15.92 kB / 1.015 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.02482, allocations: 4 kB / 1.015 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02482, allocations: 0 / 1.015 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.02537, allocations: 395.3 kB / 1.015 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.02547, allocations: 51.72 kB / 1.015 GB, free: 14.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.02552, allocations: 15.88 kB / 1.015 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.02566, allocations: 16.05 kB / 1.015 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.02575, allocations: 27.95 kB / 1.015 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.02579, allocations: 15.98 kB / 1.015 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001943/0.02598, allocations: 173.2 kB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.02598, allocations: 0 / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004182/0.0264, allocations: 107.8 kB / 1.015 GB, free: 14 MB / 0.9792 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.0002053/0.02661, allocations: 117.2 kB / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0009091/0.02751, allocations: 0.593 MB / 1.016 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.02752, allocations: 3.938 kB / 1.016 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.02775, allocations: 120.3 kB / 1.016 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.02826, allocations: 80.75 kB / 1.016 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.02954, allocations: 0.572 MB / 1.017 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.02976, allocations: 187 kB / 1.017 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.02988, allocations: 38.95 kB / 1.017 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.02995, allocations: 32.5 kB / 1.017 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of SimCode: time 4.91e-07/0.02995, allocations: 0 / 1.017 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of Templates: time 0.01171/0.04166, allocations: 5.409 MB / 1.022 GB, free: 6.879 MB / 0.9792 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: 9.3561189211905]