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.001025/0.001025, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001258/0.001258, allocations: 164.9 kB / 24.97 MB, free: 9.125 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 1.047/1.047, allocations: 177.1 MB / 205.4 MB, free: 5.492 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.994/1.994, allocations: 389.6 MB / 0.6362 GB, free: 12.28 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.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.805e-06/2.805e-06, allocations: 0 / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.744e-05, allocations: 2.859 kB / 0.776 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.00281/0.002837, allocations: 1.083 MB / 0.777 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.004907, allocations: 1.369 MB / 0.7784 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.005073, allocations: 7.938 kB / 0.7784 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.005204, allocations: 16.67 kB / 0.7784 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.005314, allocations: 35.44 kB / 0.7784 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007363/0.00605, allocations: 261.8 kB / 0.7787 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.00646, allocations: 309 kB / 0.779 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.006626, allocations: 70.48 kB / 0.779 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.006858, allocations: 171.7 kB / 0.7792 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.007008, allocations: 76.53 kB / 0.7793 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.007059, allocations: 29.5 kB / 0.7793 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.007162, allocations: 43.98 kB / 0.7794 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.0072, allocations: 39.84 kB / 0.7794 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.007302, allocations: 87.8 kB / 0.7795 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.007628, allocations: 228.4 kB / 0.7797 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.007633, allocations: 4 kB / 0.7797 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.142e-06/0.007634, allocations: 0 / 0.7797 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.007639, allocations: 0 / 0.7797 GB, free: 1.574 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.0005782/0.008217, allocations: 440.5 kB / 0.7801 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.00826, allocations: 9.344 kB / 0.7801 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.008329, allocations: 33.72 kB / 0.7802 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.008582, allocations: 159.1 kB / 0.7803 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.008608, allocations: 12.97 kB / 0.7803 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.008643, allocations: 20.97 kB / 0.7803 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.008801, allocations: 102.9 kB / 0.7804 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.00881, allocations: 1.062 kB / 0.7804 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.008824, allocations: 8.359 kB / 0.7805 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.008832, allocations: 5.812 kB / 0.7805 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.223e-05/0.008894, allocations: 27.92 kB / 0.7805 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.009542, allocations: 316.4 kB / 0.7808 GB, free: 388 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.009669, allocations: 63.16 kB / 0.7808 GB, free: 316 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.009701, allocations: 22.58 kB / 0.7809 GB, free: 292 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.00972, allocations: 4 kB / 0.7809 GB, free: 288 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.009855, allocations: 95.31 kB / 0.781 GB, free: 180 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.009857, allocations: 0 / 0.781 GB, free: 180 kB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001965/0.01005, allocations: 106.5 kB / 0.7811 GB, free: 68 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.0101, allocations: 55.61 kB / 0.7811 GB, free: 16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.01023, allocations: 174.3 kB / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.01026, allocations: 33.7 kB / 0.7813 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.01033, allocations: 125.1 kB / 0.7814 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.01037, allocations: 35.72 kB / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.01047, allocations: 62.44 kB / 0.7815 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.01057, allocations: 334.8 kB / 0.7818 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.0107, allocations: 100.3 kB / 0.7819 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.01084, allocations: 155.6 kB / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.01102, allocations: 181 kB / 0.7823 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01102, allocations: 0 / 0.7823 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003359/0.01136, allocations: 294 kB / 0.7825 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/0.01141, allocations: 71.39 kB / 0.7826 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.01141, allocations: 0.6875 kB / 0.7826 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01143, allocations: 4 kB / 0.7826 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.0115, allocations: 12.81 kB / 0.7826 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.0115, allocations: 7.938 kB / 0.7826 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.01171, allocations: 49.56 kB / 0.7827 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.01174, allocations: 11.98 kB / 0.7827 GB, free: 14.24 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.0001005/0.01184, allocations: 127.1 kB / 0.7828 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.01187, allocations: 16.92 kB / 0.7828 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.0119, allocations: 13.47 kB / 0.7828 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.01191, allocations: 0.9375 kB / 0.7828 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01191, allocations: 4 kB / 0.7829 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.01193, allocations: 23.77 kB / 0.7829 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.01195, allocations: 4.938 kB / 0.7829 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.01199, allocations: 4 kB / 0.7829 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.01203, allocations: 17.06 kB / 0.7829 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001249/0.01216, allocations: 148.2 kB / 0.783 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001824/0.01234, allocations: 270.6 kB / 0.7833 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.348e-05/0.01239, allocations: 29.69 kB / 0.7833 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.861e-05/0.01244, allocations: 42.44 kB / 0.7834 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of Backend: time 2.7e-07/0.01244, allocations: 0 / 0.7834 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.01297, allocations: 340.6 kB / 0.7837 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0007799/0.01375, allocations: 0.8022 MB / 0.7845 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.006906/0.02066, allocations: 3.293 MB / 0.7877 GB, free: 9.238 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.262056832201779]