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.000943/0.000943, allocations: 80.8 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.0009694/0.0009694, allocations: 161 kB / 24.16 MB, free: 336 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.073/1.073, allocations: 177.2 MB / 204.6 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.932/1.932, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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 1.733e-06/1.733e-06, allocations: 0 / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.474e-05, allocations: 6.812 kB / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.001798/0.001823, allocations: 1.024 MB / 0.7762 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.003302, allocations: 1.38 MB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.003426, allocations: 5.281 kB / 0.7775 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.003553, allocations: 20.61 kB / 0.7775 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.659e-05/0.003629, allocations: 34.73 kB / 0.7776 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.004213, allocations: 259.3 kB / 0.7778 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.004535, allocations: 310 kB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.004681, allocations: 69.88 kB / 0.7782 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.004858, allocations: 175.7 kB / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.004986, allocations: 83.73 kB / 0.7784 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.005024, allocations: 32 kB / 0.7785 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.202e-05/0.005096, allocations: 43.98 kB / 0.7785 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.00513, allocations: 35.84 kB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.0052, allocations: 83.81 kB / 0.7786 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.005476, allocations: 223.4 kB / 0.7788 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005479, allocations: 0 / 0.7788 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.72e-07/0.00548, allocations: 0 / 0.7788 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.005483, allocations: 3.938 kB / 0.7788 GB, free: 1.68 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.0004474/0.005931, allocations: 435.5 kB / 0.7792 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.005965, allocations: 15.8 kB / 0.7793 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.006013, allocations: 28.92 kB / 0.7793 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.006204, allocations: 167.1 kB / 0.7794 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.006225, allocations: 12.38 kB / 0.7795 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.006252, allocations: 20.38 kB / 0.7795 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.006373, allocations: 106.8 kB / 0.7796 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.00638, allocations: 1.062 kB / 0.7796 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.006389, allocations: 4.375 kB / 0.7796 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.006395, allocations: 1.125 kB / 0.7796 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.006441, allocations: 35.92 kB / 0.7796 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.00686, allocations: 314.6 kB / 0.7799 GB, free: 492 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.006974, allocations: 58.55 kB / 0.78 GB, free: 424 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.007, allocations: 20.78 kB / 0.78 GB, free: 400 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.007017, allocations: 4 kB / 0.78 GB, free: 396 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.007133, allocations: 98.2 kB / 0.7801 GB, free: 288 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.007135, allocations: 0 / 0.7801 GB, free: 288 kB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001704/0.007305, allocations: 112.2 kB / 0.7802 GB, free: 172 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.007341, allocations: 59.34 kB / 0.7803 GB, free: 100 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.007458, allocations: 165.8 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.007491, allocations: 37.7 kB / 0.7805 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.007545, allocations: 116.4 kB / 0.7806 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.007573, allocations: 41.84 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.007817, allocations: 61.66 kB / 0.7807 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.007903, allocations: 330.8 kB / 0.781 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.456e-05/0.007997, allocations: 103.4 kB / 0.7811 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-05/0.008091, allocations: 150.1 kB / 0.7812 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.008217, allocations: 174.2 kB / 0.7814 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.00822, allocations: 0.9375 kB / 0.7814 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002468/0.008467, allocations: 299.5 kB / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.00851, allocations: 68.17 kB / 0.7817 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.008515, allocations: 0 / 0.7817 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.008528, allocations: 4.531 kB / 0.7817 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.008583, allocations: 25.23 kB / 0.7818 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.008588, allocations: 4 kB / 0.7818 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.008732, allocations: 44.58 kB / 0.7818 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.008751, allocations: 11.98 kB / 0.7818 GB, free: 14.36 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.633e-05/0.008838, allocations: 132.1 kB / 0.7819 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.008858, allocations: 19.97 kB / 0.782 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.008885, allocations: 17.45 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.008889, allocations: 8.812 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.008892, allocations: 3.938 kB / 0.782 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.008895, allocations: 0.625 kB / 0.782 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.009136, allocations: 266.9 kB / 0.7823 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.009139, allocations: 5.156 kB / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.009163, allocations: 11.98 kB / 0.7823 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.009165, allocations: 0 / 0.7823 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.009171, allocations: 0.875 kB / 0.7823 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.009174, allocations: 3.938 kB / 0.7823 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.009175, allocations: 0.625 kB / 0.7823 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.009282, allocations: 191.8 kB / 0.7825 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.0093, allocations: 12.59 kB / 0.7825 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.009317, allocations: 4 kB / 0.7825 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.288e-05/0.00936, allocations: 9.688 kB / 0.7825 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.009395, allocations: 11.97 kB / 0.7825 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.009403, allocations: 8 kB / 0.7825 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.409e-05/0.009437, allocations: 42.44 kB / 0.7825 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009437, allocations: 0.5938 kB / 0.7825 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001816/0.009618, allocations: 47.94 kB / 0.7826 GB, free: 13.53 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.0001272/0.009746, allocations: 94.55 kB / 0.7827 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.009979, allocations: 297.8 kB / 0.783 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.009983, allocations: 0.8125 kB / 0.783 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.01003, allocations: 44.83 kB / 0.783 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.01022, allocations: 25.66 kB / 0.783 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.01071, allocations: 292.4 kB / 0.7833 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.927e-05/0.01076, allocations: 71.83 kB / 0.7834 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.896e-05/0.01081, allocations: 19.36 kB / 0.7834 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.01094, allocations: 91.34 kB / 0.7835 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.01094, allocations: 3.938 kB / 0.7835 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.005024/0.01596, allocations: 3.143 MB / 0.7866 GB, free: 9.602 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.2152160638943315]