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.0009026/0.0009026, allocations: 76.81 kB / 21.54 MB, free: 2.949 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.0009211/0.0009211, allocations: 163.7 kB / 24.96 MB, free: 8.695 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.9021/0.9021, allocations: 177.1 MB / 205.4 MB, free: 4.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.012/2.012, allocations: 389.6 MB / 0.6362 GB, free: 13.35 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.374e-06/2.374e-06, allocations: 0 / 0.776 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.11e-05, allocations: 6.25 kB / 0.776 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.002024/0.002055, allocations: 1.056 MB / 0.777 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.004036, allocations: 1.388 MB / 0.7784 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.004179, allocations: 0 / 0.7784 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.004336, allocations: 19.73 kB / 0.7784 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.816e-05/0.004415, allocations: 35.72 kB / 0.7785 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.005021, allocations: 251.4 kB / 0.7787 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.005378, allocations: 307.4 kB / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.005543, allocations: 69.97 kB / 0.7791 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.005736, allocations: 167.7 kB / 0.7792 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.005887, allocations: 87.78 kB / 0.7793 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.005932, allocations: 32 kB / 0.7793 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.006039, allocations: 36 kB / 0.7794 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.006078, allocations: 43.83 kB / 0.7794 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.006164, allocations: 83.81 kB / 0.7795 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.00645, allocations: 223.3 kB / 0.7797 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006454, allocations: 0 / 0.7797 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.006455, allocations: 0 / 0.7797 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.006459, allocations: 0 / 0.7797 GB, free: 10.1 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005434/0.007003, allocations: 443.5 kB / 0.7801 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.007039, allocations: 12.03 kB / 0.7801 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.007093, allocations: 28.84 kB / 0.7802 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.007294, allocations: 162.2 kB / 0.7803 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.007315, allocations: 12.38 kB / 0.7803 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.007341, allocations: 20.38 kB / 0.7803 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.007475, allocations: 102.8 kB / 0.7804 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.007483, allocations: 192 / 0.7804 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.007494, allocations: 8.375 kB / 0.7805 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.007501, allocations: 4.375 kB / 0.7805 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.007554, allocations: 35.91 kB / 0.7805 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.007991, allocations: 311.8 kB / 0.7808 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.008093, allocations: 62.53 kB / 0.7808 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.008114, allocations: 16.86 kB / 0.7809 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.008134, allocations: 3.984 kB / 0.7809 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.008244, allocations: 95.45 kB / 0.781 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/0.008247, allocations: 4 kB / 0.781 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0001622/0.008409, allocations: 113 kB / 0.7811 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.00844, allocations: 55.34 kB / 0.7811 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.008542, allocations: 171.2 kB / 0.7813 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.008567, allocations: 33.7 kB / 0.7813 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.00863, allocations: 124.4 kB / 0.7814 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.008658, allocations: 35.72 kB / 0.7815 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.008731, allocations: 65.64 kB / 0.7815 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.008818, allocations: 330.7 kB / 0.7818 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.17e-05/0.00891, allocations: 111.2 kB / 0.782 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.009026, allocations: 152.5 kB / 0.7821 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.009167, allocations: 171.5 kB / 0.7823 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.009169, allocations: 0 / 0.7823 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002701/0.009439, allocations: 296.2 kB / 0.7825 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.00949, allocations: 67.39 kB / 0.7826 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.009499, allocations: 12.16 kB / 0.7826 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.009514, allocations: 0 / 0.7826 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.009588, allocations: 23.88 kB / 0.7826 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.009593, allocations: 0 / 0.7826 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.009744, allocations: 43.91 kB / 0.7827 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.009771, allocations: 15.98 kB / 0.7827 GB, free: 6.742 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 0.0001072/0.009878, allocations: 137.7 kB / 0.7828 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.009898, allocations: 15.98 kB / 0.7828 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.009935, allocations: 17.47 kB / 0.7829 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.009938, allocations: 0 / 0.7829 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.009942, allocations: 3.938 kB / 0.7829 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.009948, allocations: 7.984 kB / 0.7829 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.01023, allocations: 274.9 kB / 0.7831 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01023, allocations: 0 / 0.7831 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.01025, allocations: 4 kB / 0.7831 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01026, allocations: 4 kB / 0.7831 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.01027, allocations: 11.98 kB / 0.7832 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01027, allocations: 3.938 kB / 0.7832 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01027, allocations: 0 / 0.7832 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.01039, allocations: 179.9 kB / 0.7833 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.0104, allocations: 15.89 kB / 0.7833 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.01043, allocations: 8 kB / 0.7834 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.122e-05/0.01047, allocations: 3.938 kB / 0.7834 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.0105, allocations: 11.98 kB / 0.7834 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.01051, allocations: 7.984 kB / 0.7834 GB, free: 6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.515e-05/0.01054, allocations: 37.53 kB / 0.7834 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01054, allocations: 0 / 0.7834 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001769/0.01072, allocations: 59.88 kB / 0.7835 GB, free: 5.902 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.0001515/0.01087, allocations: 92.41 kB / 0.7836 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.01113, allocations: 298.8 kB / 0.7838 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.01113, allocations: 0 / 0.7838 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.601e-05/0.01118, allocations: 48 kB / 0.7839 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.01137, allocations: 32.28 kB / 0.7839 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.01176, allocations: 281.3 kB / 0.7842 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.358e-05/0.0118, allocations: 71.83 kB / 0.7843 GB, free: 5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.105e-05/0.01184, allocations: 13.48 kB / 0.7843 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.01197, allocations: 99.33 kB / 0.7844 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01197, allocations: 0 / 0.7844 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of Templates: time 0.005264/0.01723, allocations: 3.144 MB / 0.7874 GB, free: 1.816 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: 4.918031929060817]