Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.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.0008887/0.0008887, allocations: 85.41 kB / 20.83 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.0009898/0.0009898, allocations: 169 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.9891/0.9891, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.949/1.949, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.SamplerWithResetThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0.5469 kB / 0.7754 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.649e-05, allocations: 5.688 kB / 0.7754 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.001824/0.00185, allocations: 1.071 MB / 0.7764 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.003351, allocations: 1.366 MB / 0.7778 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.003476, allocations: 3.938 kB / 0.7778 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.003612, allocations: 21.11 kB / 0.7778 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.132e-05/0.003693, allocations: 35.66 kB / 0.7778 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.004234, allocations: 249.6 kB / 0.7781 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.004531, allocations: 319.1 kB / 0.7784 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.004658, allocations: 71.33 kB / 0.7784 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.004817, allocations: 167.7 kB / 0.7786 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.004941, allocations: 83.75 kB / 0.7787 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.004977, allocations: 28 kB / 0.7787 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.005069, allocations: 44.73 kB / 0.7787 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.0051, allocations: 35.84 kB / 0.7788 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.005167, allocations: 89.44 kB / 0.7789 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.0054, allocations: 227.3 kB / 0.7791 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.005404, allocations: 4 kB / 0.7791 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005405, allocations: 0 / 0.7791 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.005409, allocations: 2.75 kB / 0.7791 GB, free: 1.48 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004863/0.005896, allocations: 439.5 kB / 0.7795 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.005932, allocations: 13.34 kB / 0.7795 GB, free: 1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.00598, allocations: 24.91 kB / 0.7795 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.006165, allocations: 155.2 kB / 0.7797 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.006185, allocations: 12.38 kB / 0.7797 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.006211, allocations: 31.8 kB / 0.7797 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.006324, allocations: 94.89 kB / 0.7798 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.006331, allocations: 192 / 0.7798 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.006341, allocations: 8.375 kB / 0.7798 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.006345, allocations: 384 / 0.7798 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.779e-05/0.006413, allocations: 31.92 kB / 0.7799 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.006827, allocations: 319.7 kB / 0.7802 GB, free: 296 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.947e-05/0.006926, allocations: 68.06 kB / 0.7802 GB, free: 220 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.006947, allocations: 13.05 kB / 0.7802 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.006962, allocations: 11.92 kB / 0.7802 GB, free: 192 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.986e-05/0.007062, allocations: 95.97 kB / 0.7803 GB, free: 84 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/0.007064, allocations: 0 / 0.7803 GB, free: 84 kB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001656/0.007229, allocations: 109.6 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.007259, allocations: 63.28 kB / 0.7805 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.007344, allocations: 161.8 kB / 0.7807 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/0.007429, allocations: 39.14 kB / 0.7807 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.007484, allocations: 128.4 kB / 0.7808 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.007509, allocations: 31.78 kB / 0.7808 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.007581, allocations: 57.66 kB / 0.7809 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.007664, allocations: 327.4 kB / 0.7812 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/0.007757, allocations: 115.4 kB / 0.7813 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.562e-05/0.007853, allocations: 155.9 kB / 0.7815 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.007977, allocations: 176.5 kB / 0.7816 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.007981, allocations: 4 kB / 0.7816 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002338/0.008215, allocations: 297.3 kB / 0.7819 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.008256, allocations: 67.89 kB / 0.782 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008261, allocations: 0.7812 kB / 0.782 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.008271, allocations: 4 kB / 0.782 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.008329, allocations: 21.09 kB / 0.782 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.008335, allocations: 7.938 kB / 0.782 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.00847, allocations: 48.38 kB / 0.7821 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.00849, allocations: 16.67 kB / 0.7821 GB, free: 14.14 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 18 (sam.yRec.y,$PRE.sam.yRec.y,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,u.booPul.y,$PRE.u.booPul.y,resSig.y,$PRE.resSig.y,sam.edgThr.y,sam.edgThr.u,$PRE.sam.edgThr.u,sam.edgRes.u,$PRE.sam.edgRes.u,sam.samTri.y,sam.samTri.u2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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 8.217e-05/0.008572, allocations: 119.6 kB / 0.7822 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.008592, allocations: 19.98 kB / 0.7822 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.008619, allocations: 16.72 kB / 0.7822 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.008623, allocations: 4 kB / 0.7822 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.008627, allocations: 7.922 kB / 0.7822 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008631, allocations: 0 / 0.7822 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.008891, allocations: 278.8 kB / 0.7825 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008892, allocations: 0 / 0.7825 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.008913, allocations: 4 kB / 0.7825 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.008916, allocations: 3.984 kB / 0.7825 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.008923, allocations: 11.88 kB / 0.7825 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.008926, allocations: 10.97 kB / 0.7825 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008927, allocations: 0 / 0.7825 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.407e-05/0.009021, allocations: 172 kB / 0.7827 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.009038, allocations: 19.83 kB / 0.7827 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.009053, allocations: 4 kB / 0.7827 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.141e-05/0.009095, allocations: 7.938 kB / 0.7827 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.009129, allocations: 15.97 kB / 0.7828 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.009135, allocations: 0 / 0.7828 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.009168, allocations: 51.92 kB / 0.7828 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.009168, allocations: 0 / 0.7828 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001688/0.009337, allocations: 47.94 kB / 0.7828 GB, free: 13.32 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (sam.samTri.y,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,sam.yRec.y,sam.samTri.u2,sam.edgRes.u,sam.edgThr.u,sam.edgThr.y,resSig.y,u.booPul.y) * Number of discrete states: 2 (sam.edgThr.u,sam.edgRes.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.009458, allocations: 97.48 kB / 0.7829 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.009683, allocations: 288.6 kB / 0.7832 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.009688, allocations: 5.219 kB / 0.7832 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.00973, allocations: 41.47 kB / 0.7833 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.009911, allocations: 42.17 kB / 0.7833 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.01027, allocations: 287.4 kB / 0.7836 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.96e-05/0.01031, allocations: 71.83 kB / 0.7836 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.01034, allocations: 18.52 kB / 0.7837 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.01046, allocations: 96.7 kB / 0.7838 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of SimCode: time 1.042e-06/0.01046, allocations: 0 / 0.7838 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.004719/0.01518, allocations: 3.142 MB / 0.7868 GB, free: 9.383 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.079498548060656]