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.001006/0.001006, allocations: 79.69 kB / 21.74 MB, free: 2.512 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.001027/0.001027, allocations: 173.4 kB / 25.18 MB, free: 9.105 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.9095/0.9095, allocations: 177.2 MB / 205.6 MB, free: 4.363 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.934/1.934, allocations: 389.6 MB / 0.6364 GB, free: 13.3 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.443e-06/1.443e-06, allocations: 0 / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.349e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.001557/0.00157, allocations: 1.063 MB / 0.7766 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.002956, allocations: 1.372 MB / 0.778 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.003068, allocations: 8 kB / 0.778 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.003201, allocations: 19.73 kB / 0.778 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.037e-05/0.003261, allocations: 27.75 kB / 0.778 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.003706, allocations: 259.4 kB / 0.7783 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.003957, allocations: 299.4 kB / 0.7785 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.004081, allocations: 66.03 kB / 0.7786 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.004216, allocations: 171.7 kB / 0.7788 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.004325, allocations: 87.73 kB / 0.7789 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.004359, allocations: 28 kB / 0.7789 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.004442, allocations: 47.98 kB / 0.7789 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.004473, allocations: 31.84 kB / 0.779 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.004549, allocations: 91.8 kB / 0.779 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.004784, allocations: 223.3 kB / 0.7793 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004786, allocations: 0 / 0.7793 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.41e-07/0.004787, allocations: 0 / 0.7793 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.004791, allocations: 0 / 0.7793 GB, free: 10.78 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.0004346/0.005225, allocations: 439.5 kB / 0.7797 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.005254, allocations: 12.03 kB / 0.7797 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.005298, allocations: 32.91 kB / 0.7797 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.005482, allocations: 166.2 kB / 0.7799 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.005503, allocations: 12.38 kB / 0.7799 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.005528, allocations: 20.38 kB / 0.7799 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.005638, allocations: 98.88 kB / 0.78 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005646, allocations: 192 / 0.78 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005656, allocations: 4.375 kB / 0.78 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.00566, allocations: 8.312 kB / 0.78 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.271e-05/0.005703, allocations: 35.91 kB / 0.78 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.006103, allocations: 311.8 kB / 0.7803 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.542e-05/0.006198, allocations: 62.48 kB / 0.7804 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.006219, allocations: 16.84 kB / 0.7804 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.006233, allocations: 7.984 kB / 0.7804 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.704e-05/0.00633, allocations: 95.27 kB / 0.7805 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 9.72e-07/0.006331, allocations: 0 / 0.7805 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.000448/0.006779, allocations: 113.6 kB / 0.7806 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.006811, allocations: 59.34 kB / 0.7807 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.006899, allocations: 171.2 kB / 0.7808 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.006919, allocations: 33.64 kB / 0.7809 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.006971, allocations: 124.4 kB / 0.781 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.007001, allocations: 39.72 kB / 0.781 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.007068, allocations: 65.64 kB / 0.7811 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.007146, allocations: 326.8 kB / 0.7814 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.007225, allocations: 111.2 kB / 0.7815 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/0.007319, allocations: 156.4 kB / 0.7817 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.007436, allocations: 172.4 kB / 0.7818 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007437, allocations: 0 / 0.7818 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002148/0.007652, allocations: 300.2 kB / 0.7821 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.007688, allocations: 75.39 kB / 0.7822 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.007691, allocations: 0 / 0.7822 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.0077, allocations: 4.156 kB / 0.7822 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/0.007746, allocations: 23.86 kB / 0.7822 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.00775, allocations: 4 kB / 0.7822 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.007874, allocations: 47.86 kB / 0.7823 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.007891, allocations: 11.98 kB / 0.7823 GB, free: 7.402 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 7.901e-05/0.00797, allocations: 133.8 kB / 0.7824 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.007982, allocations: 12 kB / 0.7824 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.00801, allocations: 21.45 kB / 0.7824 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.008012, allocations: 4 kB / 0.7824 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.008014, allocations: 3.938 kB / 0.7824 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.008018, allocations: 0 / 0.7824 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.008228, allocations: 278.8 kB / 0.7827 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.00823, allocations: 3.984 kB / 0.7827 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.008247, allocations: 8 kB / 0.7827 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.008248, allocations: 0 / 0.7827 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.008255, allocations: 4 kB / 0.7827 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.008257, allocations: 7.938 kB / 0.7827 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.00826, allocations: 4 kB / 0.7827 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.294e-05/0.008353, allocations: 180 kB / 0.7829 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.008365, allocations: 11.91 kB / 0.7829 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.008379, allocations: 7.938 kB / 0.7829 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.64e-05/0.008416, allocations: 7.938 kB / 0.7829 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.008449, allocations: 11.97 kB / 0.7829 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.008454, allocations: 4 kB / 0.7829 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.928e-05/0.008483, allocations: 45.45 kB / 0.783 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008483, allocations: 0 / 0.783 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001557/0.008639, allocations: 51.89 kB / 0.783 GB, free: 6.566 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.0001006/0.00874, allocations: 107.8 kB / 0.7831 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.008961, allocations: 294.9 kB / 0.7834 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.008965, allocations: 3.938 kB / 0.7834 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.009006, allocations: 40.36 kB / 0.7835 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.009169, allocations: 28.3 kB / 0.7835 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.009528, allocations: 322.8 kB / 0.7838 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.925e-05/0.009597, allocations: 108.1 kB / 0.7839 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.009716, allocations: 99.33 kB / 0.784 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.009717, allocations: 0 / 0.784 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of Templates: time 0.002753/0.01247, allocations: 2.474 MB / 0.7864 GB, free: 3.027 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 > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.548173689283431]