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.0008784/0.0008784, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.000938/0.000938, allocations: 163.2 kB / 25.05 MB, free: 9.148 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 0.9983/0.9983, allocations: 177.1 MB / 205.5 MB, free: 5.477 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.985/1.985, allocations: 389.6 MB / 0.6363 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] 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.134e-06/2.134e-06, allocations: 0.6562 kB / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.385e-05, allocations: 5.547 kB / 0.7762 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.002653/0.002677, allocations: 2.311 MB / 0.7784 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003777, allocations: 0.9295 MB / 0.7793 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.003913, allocations: 11.94 kB / 0.7793 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.004069, allocations: 55.34 kB / 0.7794 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.004173, allocations: 63.39 kB / 0.7794 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.004782, allocations: 433.4 kB / 0.7799 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.005192, allocations: 0.6286 MB / 0.7805 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.00541, allocations: 181.1 kB / 0.7806 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.00564, allocations: 351.3 kB / 0.781 GB, free: 384 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.005811, allocations: 168.1 kB / 0.7811 GB, free: 216 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.005869, allocations: 64 kB / 0.7812 GB, free: 152 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.005972, allocations: 80.67 kB / 0.7813 GB, free: 72 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.006034, allocations: 91.75 kB / 0.7814 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.006142, allocations: 180.3 kB / 0.7815 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.006476, allocations: 442.5 kB / 0.782 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.006478, allocations: 0.5938 kB / 0.782 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006479, allocations: 5.5 kB / 0.782 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.006484, allocations: 0 / 0.782 GB, free: 15.37 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.0006313/0.007115, allocations: 0.6495 MB / 0.7826 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.007153, allocations: 14.47 kB / 0.7826 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.007222, allocations: 64.88 kB / 0.7827 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.007484, allocations: 241.5 kB / 0.7829 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.007512, allocations: 37.62 kB / 0.7829 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.007551, allocations: 40.38 kB / 0.783 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.007736, allocations: 208.1 kB / 0.7832 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.007746, allocations: 192 / 0.7832 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.00776, allocations: 13.86 kB / 0.7832 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.007768, allocations: 8.375 kB / 0.7832 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.172e-05/0.007849, allocations: 80.44 kB / 0.7833 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.008496, allocations: 0.5727 MB / 0.7838 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.008685, allocations: 138 kB / 0.784 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/0.008761, allocations: 60.83 kB / 0.784 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.008778, allocations: 4.656 kB / 0.784 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.00893, allocations: 170.2 kB / 0.7842 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 1.883e-06/0.008932, allocations: 0 / 0.7842 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36): time 0.0002212/0.009154, allocations: 205.9 kB / 0.7844 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.009184, allocations: 55.41 kB / 0.7844 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.009321, allocations: 241.7 kB / 0.7847 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.009354, allocations: 45.64 kB / 0.7847 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.009439, allocations: 185.8 kB / 0.7849 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.009635, allocations: 92 kB / 0.785 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.009736, allocations: 106 kB / 0.7851 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.009818, allocations: 348.1 kB / 0.7854 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.009944, allocations: 173.9 kB / 0.7856 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.01009, allocations: 247.6 kB / 0.7858 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.01028, allocations: 289.8 kB / 0.7861 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01029, allocations: 1.75 kB / 0.7861 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003272/0.01061, allocations: 488 kB / 0.7866 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.01067, allocations: 102.1 kB / 0.7867 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.01068, allocations: 7.984 kB / 0.7867 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.01069, allocations: 4 kB / 0.7867 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.01079, allocations: 40.39 kB / 0.7867 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.01079, allocations: 5.125 kB / 0.7867 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.01097, allocations: 76.59 kB / 0.7868 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.01099, allocations: 20.48 kB / 0.7868 GB, free: 10.1 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 9.618e-05/0.01109, allocations: 158 kB / 0.787 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.01111, allocations: 31.97 kB / 0.787 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.01128, allocations: 176.7 kB / 0.7872 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01128, allocations: 4.719 kB / 0.7872 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01128, allocations: 0 / 0.7872 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01129, allocations: 1.219 kB / 0.7872 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.01169, allocations: 459.8 kB / 0.7876 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01169, allocations: 1.094 kB / 0.7876 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/0.01174, allocations: 27.92 kB / 0.7876 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01174, allocations: 4 kB / 0.7876 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.01175, allocations: 6.75 kB / 0.7876 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01175, allocations: 4 kB / 0.7876 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01176, allocations: 3.938 kB / 0.7876 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.01191, allocations: 283.7 kB / 0.7879 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.01195, allocations: 31.81 kB / 0.7879 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.01197, allocations: 11.98 kB / 0.788 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.462e-05/0.01203, allocations: 6.562 kB / 0.788 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.01207, allocations: 32.17 kB / 0.788 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.01209, allocations: 11.98 kB / 0.788 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.01214, allocations: 74.78 kB / 0.7881 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01214, allocations: 0 / 0.7881 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002076/0.01235, allocations: 111.7 kB / 0.7882 GB, free: 8.625 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.000116/0.01246, allocations: 104 kB / 0.7883 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003448/0.01281, allocations: 0.4923 MB / 0.7888 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.01281, allocations: 0 / 0.7888 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.01289, allocations: 85.81 kB / 0.7888 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.01313, allocations: 75.91 kB / 0.7889 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.01369, allocations: 0.5468 MB / 0.7894 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.208e-05/0.01374, allocations: 101.1 kB / 0.7895 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.982e-05/0.01381, allocations: 33.5 kB / 0.7896 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.01398, allocations: 140.2 kB / 0.7897 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/0.01398, allocations: 3.938 kB / 0.7897 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of Templates: time 0.00727/0.02125, allocations: 5.848 MB / 0.7954 GB, free: 1.367 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.113059994764626]