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.0008981/0.0008981, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009468/0.0009468, allocations: 165.4 kB / 24.17 MB, free: 328 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.9532/0.9532, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.895/1.895, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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 2.665e-06/2.665e-06, allocations: 0 / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.652e-05, allocations: 5.266 kB / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.002979/0.003005, allocations: 2.276 MB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.004655, allocations: 0.9412 MB / 0.7783 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.004855, allocations: 11.94 kB / 0.7783 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.005008, allocations: 55.89 kB / 0.7784 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.00513, allocations: 71.38 kB / 0.7784 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007038/0.005834, allocations: 427.1 kB / 0.7788 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.006324, allocations: 0.6396 MB / 0.7795 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.00657, allocations: 185.1 kB / 0.7796 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.006842, allocations: 343.4 kB / 0.78 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.007016, allocations: 167.5 kB / 0.7801 GB, free: 348 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.007072, allocations: 64 kB / 0.7802 GB, free: 284 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.00716, allocations: 79.97 kB / 0.7803 GB, free: 204 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.007214, allocations: 91.61 kB / 0.7804 GB, free: 112 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.007337, allocations: 171.6 kB / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.007887, allocations: 449.7 kB / 0.781 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.007889, allocations: 0 / 0.781 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.71e-07/0.00789, allocations: 0 / 0.781 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.007895, allocations: 0 / 0.781 GB, free: 15.5 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.000624/0.008519, allocations: 0.6612 MB / 0.7816 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.008551, allocations: 9.344 kB / 0.7816 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.008622, allocations: 64.88 kB / 0.7817 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.008886, allocations: 244.5 kB / 0.7819 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.008916, allocations: 33.03 kB / 0.7819 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.00896, allocations: 48.36 kB / 0.782 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.009159, allocations: 199.3 kB / 0.7822 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.009168, allocations: 192 / 0.7822 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.009186, allocations: 16.31 kB / 0.7822 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.009194, allocations: 8.375 kB / 0.7822 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.487e-05/0.009279, allocations: 76.48 kB / 0.7823 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.009986, allocations: 0.5686 MB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.01018, allocations: 139.5 kB / 0.783 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.01025, allocations: 61.38 kB / 0.783 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.01027, allocations: 7.625 kB / 0.783 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.01042, allocations: 168.5 kB / 0.7832 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.01042, allocations: 3.938 kB / 0.7832 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36): time 0.000235/0.01065, allocations: 201.9 kB / 0.7834 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.01069, allocations: 67.33 kB / 0.7834 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.01083, allocations: 236.9 kB / 0.7837 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.01086, allocations: 41.69 kB / 0.7837 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.01094, allocations: 177.4 kB / 0.7839 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.01099, allocations: 102 kB / 0.784 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.0111, allocations: 110 kB / 0.7841 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.01118, allocations: 342.7 kB / 0.7844 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.0113, allocations: 169.9 kB / 0.7846 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.01145, allocations: 239.6 kB / 0.7848 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.01165, allocations: 285.5 kB / 0.7851 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01165, allocations: 0 / 0.7851 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003438/0.01199, allocations: 485.2 kB / 0.7855 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/0.01205, allocations: 106.5 kB / 0.7856 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01205, allocations: 0 / 0.7856 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.01207, allocations: 4 kB / 0.7856 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.114e-05/0.01214, allocations: 31.92 kB / 0.7857 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01214, allocations: 4.641 kB / 0.7857 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.01233, allocations: 81.61 kB / 0.7857 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.01236, allocations: 23.97 kB / 0.7858 GB, free: 10.25 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.0001104/0.01247, allocations: 150.5 kB / 0.7859 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.01249, allocations: 35.97 kB / 0.7859 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.01267, allocations: 168.2 kB / 0.7861 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01267, allocations: 4.562 kB / 0.7861 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01267, allocations: 1.781 kB / 0.7861 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01268, allocations: 3.984 kB / 0.7861 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.01308, allocations: 455.8 kB / 0.7866 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01309, allocations: 5.125 kB / 0.7866 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.01314, allocations: 27.92 kB / 0.7866 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01314, allocations: 0 / 0.7866 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.01315, allocations: 12.95 kB / 0.7866 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01315, allocations: 0 / 0.7866 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01315, allocations: 7.938 kB / 0.7866 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.01332, allocations: 268.7 kB / 0.7869 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.01336, allocations: 35.73 kB / 0.7869 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.01338, allocations: 12.56 kB / 0.7869 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.01344, allocations: 12.77 kB / 0.7869 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.01349, allocations: 32.17 kB / 0.7869 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.01351, allocations: 8.938 kB / 0.787 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.706e-05/0.01356, allocations: 82.75 kB / 0.787 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01356, allocations: 0 / 0.787 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002235/0.01379, allocations: 104.7 kB / 0.7871 GB, free: 8.785 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.0001207/0.01391, allocations: 107.4 kB / 0.7872 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.0144, allocations: 494.4 kB / 0.7877 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.01441, allocations: 4.625 kB / 0.7877 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.0145, allocations: 94.58 kB / 0.7878 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.01475, allocations: 74.56 kB / 0.7879 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.01532, allocations: 0.5509 MB / 0.7884 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.391e-05/0.01537, allocations: 93.12 kB / 0.7885 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.469e-05/0.01545, allocations: 41.06 kB / 0.7885 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.01563, allocations: 135.3 kB / 0.7887 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.01563, allocations: 0 / 0.7887 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of Templates: time 0.00725/0.02288, allocations: 5.857 MB / 0.7944 GB, free: 1.535 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.0146819544024765]