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.001091/0.001091, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001226/0.001226, allocations: 161 kB / 24.17 MB, free: 332 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 1.041/1.041, allocations: 177.2 MB / 204.6 MB, free: 5.48 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 2.064/2.064, allocations: 389.6 MB / 0.6354 GB, free: 12.27 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 1.423e-06/1.423e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.031e-05, allocations: 6.297 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.002752/0.002772, allocations: 2.301 MB / 0.7775 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.004082, allocations: 0.9429 MB / 0.7784 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.004253, allocations: 11.84 kB / 0.7784 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.004412, allocations: 56 kB / 0.7785 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.004529, allocations: 71.38 kB / 0.7785 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006762/0.005205, allocations: 435 kB / 0.7789 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000488/0.005693, allocations: 0.6403 MB / 0.7796 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.005937, allocations: 177.1 kB / 0.7797 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.006201, allocations: 342.5 kB / 0.7801 GB, free: 460 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.006395, allocations: 171.5 kB / 0.7802 GB, free: 288 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.006457, allocations: 64 kB / 0.7803 GB, free: 224 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.006572, allocations: 75.98 kB / 0.7804 GB, free: 148 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.006627, allocations: 95.61 kB / 0.7804 GB, free: 52 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.00676, allocations: 175.6 kB / 0.7806 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.007135, allocations: 442.5 kB / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.007137, allocations: 0 / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.007138, allocations: 0 / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.007143, allocations: 0.5625 kB / 0.781 GB, free: 15.45 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.0006671/0.00781, allocations: 0.6613 MB / 0.7817 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.007848, allocations: 9.344 kB / 0.7817 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.888e-05/0.007927, allocations: 68.81 kB / 0.7818 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.008375, allocations: 248.5 kB / 0.782 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.008404, allocations: 29.03 kB / 0.782 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.008444, allocations: 48.36 kB / 0.7821 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.008643, allocations: 199.3 kB / 0.7823 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.008654, allocations: 3.438 kB / 0.7823 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.008673, allocations: 16.38 kB / 0.7823 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.008681, allocations: 8.375 kB / 0.7823 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.547e-05/0.008767, allocations: 76.48 kB / 0.7824 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007005/0.009467, allocations: 0.5631 MB / 0.7829 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.009672, allocations: 147.5 kB / 0.783 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.718e-05/0.009749, allocations: 57.53 kB / 0.7831 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.009766, allocations: 4.875 kB / 0.7831 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.009923, allocations: 166.3 kB / 0.7833 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 1.683e-06/0.009925, allocations: 0 / 0.7833 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36): time 0.0002438/0.01017, allocations: 205.8 kB / 0.7835 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.0102, allocations: 71.33 kB / 0.7835 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.01033, allocations: 229.6 kB / 0.7837 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.01037, allocations: 45.69 kB / 0.7838 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.01046, allocations: 182.2 kB / 0.784 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.0105, allocations: 95.23 kB / 0.7841 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.01061, allocations: 110 kB / 0.7842 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.0107, allocations: 352.4 kB / 0.7845 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.01083, allocations: 165.9 kB / 0.7847 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.01097, allocations: 235.6 kB / 0.7849 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.01118, allocations: 290 kB / 0.7852 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01118, allocations: 4 kB / 0.7852 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003615/0.01154, allocations: 477.6 kB / 0.7856 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.0116, allocations: 101.1 kB / 0.7857 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.0116, allocations: 1.094 kB / 0.7857 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.01161, allocations: 4 kB / 0.7857 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.01172, allocations: 43.91 kB / 0.7858 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.01173, allocations: 9.406 kB / 0.7858 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.01192, allocations: 72.72 kB / 0.7858 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.01194, allocations: 19.98 kB / 0.7859 GB, free: 10.2 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.0001285/0.01207, allocations: 153.8 kB / 0.786 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.0121, allocations: 28.75 kB / 0.786 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.01228, allocations: 176.2 kB / 0.7862 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.01229, allocations: 4.938 kB / 0.7862 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01229, allocations: 4 kB / 0.7862 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.0123, allocations: 4.922 kB / 0.7862 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.01277, allocations: 460.9 kB / 0.7867 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01278, allocations: 3.938 kB / 0.7867 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.01283, allocations: 27.98 kB / 0.7867 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.01284, allocations: 1.125 kB / 0.7867 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01285, allocations: 8 kB / 0.7867 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01285, allocations: 0.9062 kB / 0.7867 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.01286, allocations: 11.88 kB / 0.7867 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.01303, allocations: 267.8 kB / 0.787 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.01308, allocations: 36.45 kB / 0.787 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.0131, allocations: 8.688 kB / 0.787 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.99e-05/0.01316, allocations: 11.98 kB / 0.787 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.01321, allocations: 36.64 kB / 0.787 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.01323, allocations: 13.12 kB / 0.7871 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.575e-05/0.01328, allocations: 74.77 kB / 0.7871 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01328, allocations: 0 / 0.7871 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002336/0.01352, allocations: 105.2 kB / 0.7872 GB, free: 8.723 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.000118/0.01364, allocations: 108.9 kB / 0.7873 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.014, allocations: 494.4 kB / 0.7878 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.014, allocations: 5.5 kB / 0.7878 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/0.0141, allocations: 93.8 kB / 0.7879 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.01437, allocations: 76.84 kB / 0.788 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.015, allocations: 0.5444 MB / 0.7885 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.376e-05/0.01506, allocations: 97.11 kB / 0.7886 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.32e-05/0.01514, allocations: 33.72 kB / 0.7886 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.01549, allocations: 139.2 kB / 0.7888 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01549, allocations: 0 / 0.7888 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of Templates: time 0.007832/0.02332, allocations: 5.859 MB / 0.7945 GB, free: 1.469 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 -s gbode -gbm=radauIIA3 -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.116316158790141]