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.001027/0.001027, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.001196/0.001196, allocations: 174.3 kB / 25.05 MB, free: 9.152 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.9986/0.9986, allocations: 177.1 MB / 205.5 MB, free: 5.434 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.99/1.99, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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 1.623e-06/1.623e-06, allocations: 0 / 0.7761 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.256e-05, allocations: 6.25 kB / 0.7761 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.001784/0.001807, allocations: 1.076 MB / 0.7772 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.003164, allocations: 1.363 MB / 0.7785 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.003268, allocations: 4 kB / 0.7785 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.003391, allocations: 21.16 kB / 0.7786 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.395e-05/0.003465, allocations: 33.88 kB / 0.7786 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.003956, allocations: 256 kB / 0.7788 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000261/0.004217, allocations: 315.1 kB / 0.7791 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.004334, allocations: 73.83 kB / 0.7792 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.004477, allocations: 165.5 kB / 0.7794 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.004592, allocations: 83.75 kB / 0.7794 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.004629, allocations: 32 kB / 0.7795 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.567e-05/0.004715, allocations: 39.98 kB / 0.7795 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.004743, allocations: 39.84 kB / 0.7795 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.004811, allocations: 92.59 kB / 0.7796 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.005027, allocations: 215.4 kB / 0.7798 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005029, allocations: 0.5 kB / 0.7798 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.12e-07/0.005029, allocations: 0.6875 kB / 0.7798 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.005033, allocations: 0 / 0.7798 GB, free: 1.523 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.0004093/0.005442, allocations: 450.5 kB / 0.7803 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.005474, allocations: 9.344 kB / 0.7803 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.005519, allocations: 32.91 kB / 0.7803 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.005682, allocations: 151.2 kB / 0.7805 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.005699, allocations: 16.36 kB / 0.7805 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.005725, allocations: 28.25 kB / 0.7805 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.005831, allocations: 106.9 kB / 0.7806 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.005839, allocations: 2.938 kB / 0.7806 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-06/0.005848, allocations: 4.375 kB / 0.7806 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.005852, allocations: 4.375 kB / 0.7806 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.807e-05/0.005891, allocations: 27.92 kB / 0.7806 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.00628, allocations: 319.7 kB / 0.7809 GB, free: 320 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.956e-05/0.006379, allocations: 56.41 kB / 0.781 GB, free: 256 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.006401, allocations: 20.86 kB / 0.781 GB, free: 232 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.006415, allocations: 0 / 0.781 GB, free: 232 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.00652, allocations: 103.4 kB / 0.7811 GB, free: 116 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.006521, allocations: 1.125 kB / 0.7811 GB, free: 116 kB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001484/0.006669, allocations: 101.6 kB / 0.7812 GB, free: 8 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.006713, allocations: 59.34 kB / 0.7813 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.006799, allocations: 166.7 kB / 0.7814 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.006823, allocations: 37.69 kB / 0.7815 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.006874, allocations: 128.9 kB / 0.7816 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.006897, allocations: 32.72 kB / 0.7816 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/0.006963, allocations: 61.66 kB / 0.7817 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.007038, allocations: 330.8 kB / 0.782 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.007123, allocations: 107.9 kB / 0.7821 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-05/0.007218, allocations: 155.6 kB / 0.7822 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.007345, allocations: 176.3 kB / 0.7824 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.007347, allocations: 0.6562 kB / 0.7824 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002255/0.007573, allocations: 297.8 kB / 0.7827 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.007611, allocations: 71.33 kB / 0.7828 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.007616, allocations: 4.906 kB / 0.7828 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.007625, allocations: 4 kB / 0.7828 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.727e-05/0.007672, allocations: 15.94 kB / 0.7828 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.007676, allocations: 4.859 kB / 0.7828 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.007808, allocations: 48.58 kB / 0.7828 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.007828, allocations: 16.58 kB / 0.7829 GB, free: 14.18 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.636e-05/0.007904, allocations: 127.6 kB / 0.783 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.007921, allocations: 15.98 kB / 0.783 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.007947, allocations: 18.14 kB / 0.783 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007949, allocations: 3.938 kB / 0.783 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.007952, allocations: 4.781 kB / 0.783 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007955, allocations: 4 kB / 0.783 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.008192, allocations: 279.3 kB / 0.7833 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.008193, allocations: 0.9375 kB / 0.7833 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.008223, allocations: 7.984 kB / 0.7833 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.008226, allocations: 4 kB / 0.7833 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.008233, allocations: 0.9375 kB / 0.7833 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.008235, allocations: 3.938 kB / 0.7833 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.008237, allocations: 1.094 kB / 0.7833 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.00834, allocations: 190.6 kB / 0.7835 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.008355, allocations: 15.84 kB / 0.7835 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.00837, allocations: 8.844 kB / 0.7835 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.008409, allocations: 3.938 kB / 0.7835 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.008442, allocations: 17.88 kB / 0.7835 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.008449, allocations: 4 kB / 0.7835 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.208e-05/0.008481, allocations: 42.44 kB / 0.7836 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008481, allocations: 0 / 0.7836 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001759/0.008657, allocations: 47.94 kB / 0.7836 GB, free: 13.35 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.0001222/0.008779, allocations: 98.52 kB / 0.7837 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.009015, allocations: 297.2 kB / 0.784 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.009018, allocations: 0 / 0.784 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.009063, allocations: 44.75 kB / 0.784 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.009252, allocations: 29.08 kB / 0.7841 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.009627, allocations: 290.7 kB / 0.7843 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.16e-05/0.009668, allocations: 71.83 kB / 0.7844 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.009707, allocations: 14.58 kB / 0.7844 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.00982, allocations: 87.34 kB / 0.7845 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of SimCode: time 6.42e-07/0.009821, allocations: 0 / 0.7845 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of Templates: time 0.004625/0.01445, allocations: 3.152 MB / 0.7876 GB, free: 9.422 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.121609406545758]