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.001157/0.001157, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00176/0.002917, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.001174/0.001174, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.002733, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.9875/0.9875, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09229/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.016/2.016, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5016/2.517, allocations: 127.1 MB / 0.7435 GB, free: 4.508 MB / 0.7136 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.433e-06/1.433e-06, allocations: 0.7656 kB / 0.7448 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.71e-05, allocations: 4.281 kB / 0.7448 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.001541/0.001558, allocations: 1.075 MB / 0.7458 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.002744, allocations: 1.371 MB / 0.7472 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.002827, allocations: 4 kB / 0.7472 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.022e-05/0.002897, allocations: 20.72 kB / 0.7472 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.002956, allocations: 31.61 kB / 0.7472 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.003326, allocations: 256.6 kB / 0.7475 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.003569, allocations: 309.4 kB / 0.7478 GB, free: 212 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.003688, allocations: 73.83 kB / 0.7478 GB, free: 140 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.003856, allocations: 175.8 kB / 0.748 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.003971, allocations: 83.7 kB / 0.7481 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.004006, allocations: 32 kB / 0.7481 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.233e-05/0.004088, allocations: 43.94 kB / 0.7482 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.00412, allocations: 31.92 kB / 0.7482 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.004184, allocations: 63.88 kB / 0.7483 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.0044, allocations: 186.9 kB / 0.7484 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.004412, allocations: 0 / 0.7484 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004413, allocations: 3.938 kB / 0.7484 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.004427, allocations: 0 / 0.7484 GB, free: 15.53 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.000552/0.004979, allocations: 479.1 kB / 0.7489 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.00501, allocations: 8.031 kB / 0.7489 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.005063, allocations: 32.91 kB / 0.7489 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.005386, allocations: 158.2 kB / 0.7491 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.005406, allocations: 23.3 kB / 0.7491 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.005434, allocations: 16.38 kB / 0.7491 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.005553, allocations: 102.9 kB / 0.7492 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.00556, allocations: 192 / 0.7492 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.00557, allocations: 4.375 kB / 0.7492 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.005576, allocations: 4.375 kB / 0.7492 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.27e-05/0.005619, allocations: 31.92 kB / 0.7493 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.006045, allocations: 319.7 kB / 0.7496 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.006145, allocations: 58.53 kB / 0.7496 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/0.006167, allocations: 16.86 kB / 0.7496 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.006185, allocations: 4.188 kB / 0.7496 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.006291, allocations: 101.8 kB / 0.7497 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 2.155e-06/0.006293, allocations: 3.984 kB / 0.7497 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001513/0.006444, allocations: 101.6 kB / 0.7498 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.006476, allocations: 63.28 kB / 0.7499 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.006564, allocations: 171.2 kB / 0.7501 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.006588, allocations: 33.7 kB / 0.7501 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.006644, allocations: 120.4 kB / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.006673, allocations: 43.7 kB / 0.7503 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-05/0.006744, allocations: 57.66 kB / 0.7503 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.006822, allocations: 330.8 kB / 0.7506 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.006906, allocations: 105.5 kB / 0.7507 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.823e-05/0.007004, allocations: 153.5 kB / 0.7509 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.007133, allocations: 179.6 kB / 0.751 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.007136, allocations: 0 / 0.751 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002215/0.007357, allocations: 305.7 kB / 0.7513 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.007404, allocations: 68.48 kB / 0.7514 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.00741, allocations: 4.719 kB / 0.7514 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.007423, allocations: 3.938 kB / 0.7514 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.007483, allocations: 21.42 kB / 0.7514 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.007488, allocations: 4 kB / 0.7514 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.007628, allocations: 48.98 kB / 0.7515 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.007647, allocations: 11.98 kB / 0.7515 GB, free: 12.14 MB / 0.7292 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.642e-05/0.007733, allocations: 123 kB / 0.7516 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.007749, allocations: 17.14 kB / 0.7516 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.007777, allocations: 17.45 kB / 0.7516 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.00778, allocations: 4 kB / 0.7516 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.007784, allocations: 4.875 kB / 0.7516 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.007787, allocations: 0 / 0.7516 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.008024, allocations: 275.5 kB / 0.7519 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.008027, allocations: 4 kB / 0.7519 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.008052, allocations: 12.67 kB / 0.7519 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.008065, allocations: 15.88 kB / 0.7519 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.008069, allocations: 5.656 kB / 0.7519 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.008076, allocations: 4 kB / 0.7519 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.008079, allocations: 7.938 kB / 0.752 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.00808, allocations: 0 / 0.752 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.008181, allocations: 178.2 kB / 0.7521 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.008196, allocations: 5.062 kB / 0.7521 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.443e-05/0.008241, allocations: 7.938 kB / 0.7521 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.008281, allocations: 16.53 kB / 0.7522 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.008286, allocations: 0 / 0.7522 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.49e-05/0.008321, allocations: 43.06 kB / 0.7522 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008321, allocations: 0 / 0.7522 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001727/0.008493, allocations: 51.89 kB / 0.7522 GB, free: 11.33 MB / 0.7292 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.0001356/0.008629, allocations: 104.3 kB / 0.7523 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.008875, allocations: 309 kB / 0.7526 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.008879, allocations: 0 / 0.7526 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.00893, allocations: 46.69 kB / 0.7527 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.009181, allocations: 229.4 kB / 0.7529 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.009798, allocations: 301.3 kB / 0.7532 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.244e-05/0.00984, allocations: 68.59 kB / 0.7533 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.257e-05/0.009883, allocations: 14.17 kB / 0.7533 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.01001, allocations: 91.33 kB / 0.7534 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.01001, allocations: 1.812 kB / 0.7534 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.005039/0.01505, allocations: 3.214 MB / 0.7565 GB, free: 7.074 MB / 0.7292 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.948469500988722]