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.0006881/0.0006881, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009537/0.001642, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007294/0.0007294, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009891/0.001718, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9805/0.9805, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0926/1.073, allocations: 53.66 MB / 243.3 MB, free: 15.58 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 1.927/1.927, allocations: 389.9 MB / 0.6191 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5627/2.49, allocations: 127.1 MB / 0.7432 GB, free: 4.598 MB / 0.7136 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.894e-06/1.894e-06, allocations: 0 / 0.7445 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.185e-05, allocations: 3.297 kB / 0.7445 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.001817/0.001839, allocations: 1.077 MB / 0.7455 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.003281, allocations: 1.369 MB / 0.7469 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.003393, allocations: 0.5469 kB / 0.7469 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.76e-05/0.003471, allocations: 28.08 kB / 0.7469 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.437e-05/0.003555, allocations: 35.83 kB / 0.7469 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.004077, allocations: 251.3 kB / 0.7472 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.004431, allocations: 302.2 kB / 0.7474 GB, free: 320 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.004567, allocations: 77.45 kB / 0.7475 GB, free: 248 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.004747, allocations: 178.4 kB / 0.7477 GB, free: 72 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.004885, allocations: 87.75 kB / 0.7478 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.004922, allocations: 32 kB / 0.7478 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.931e-05/0.005011, allocations: 40 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.005042, allocations: 35.86 kB / 0.7479 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.005111, allocations: 63.88 kB / 0.7479 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.00535, allocations: 179.3 kB / 0.7481 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.005365, allocations: 0 / 0.7481 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.403e-06/0.005366, allocations: 0 / 0.7481 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.005378, allocations: 6.812 kB / 0.7481 GB, free: 15.64 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.0005753/0.005954, allocations: 487 kB / 0.7486 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.005986, allocations: 8.031 kB / 0.7486 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.006036, allocations: 28.91 kB / 0.7486 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.006238, allocations: 162.2 kB / 0.7488 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.006261, allocations: 16.36 kB / 0.7488 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.006286, allocations: 20.38 kB / 0.7488 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.006414, allocations: 100.9 kB / 0.7489 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.006421, allocations: 192 / 0.7489 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.006431, allocations: 4.375 kB / 0.7489 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.006437, allocations: 4.375 kB / 0.7489 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.006482, allocations: 27.92 kB / 0.7489 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.00694, allocations: 318 kB / 0.7492 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.007055, allocations: 62.53 kB / 0.7493 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.007079, allocations: 16.86 kB / 0.7493 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.007099, allocations: 1.156 kB / 0.7493 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.007235, allocations: 102 kB / 0.7494 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 2.865e-06/0.007238, allocations: 5 kB / 0.7494 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001809/0.007419, allocations: 109.6 kB / 0.7495 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.007461, allocations: 63.28 kB / 0.7496 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.007562, allocations: 170.2 kB / 0.7497 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.007588, allocations: 29.7 kB / 0.7498 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.007642, allocations: 121.1 kB / 0.7499 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.007678, allocations: 39.7 kB / 0.7499 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.007752, allocations: 67.16 kB / 0.75 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.007838, allocations: 330.8 kB / 0.7503 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.007926, allocations: 103.4 kB / 0.7504 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.008026, allocations: 151.2 kB / 0.7505 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.008165, allocations: 178.6 kB / 0.7507 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.008168, allocations: 1.031 kB / 0.7507 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002524/0.00842, allocations: 304.9 kB / 0.751 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.008469, allocations: 74.05 kB / 0.7511 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.008474, allocations: 4.844 kB / 0.7511 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.008482, allocations: 0 / 0.7511 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.00854, allocations: 21.36 kB / 0.7511 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.008543, allocations: 4 kB / 0.7511 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.008689, allocations: 48.52 kB / 0.7512 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.008708, allocations: 12.67 kB / 0.7512 GB, free: 12.25 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.444e-05/0.008792, allocations: 131.5 kB / 0.7513 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.00881, allocations: 11.98 kB / 0.7513 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.008838, allocations: 21.45 kB / 0.7513 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.008841, allocations: 0.9375 kB / 0.7513 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.008846, allocations: 7.938 kB / 0.7513 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.008849, allocations: 0.5625 kB / 0.7513 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.009103, allocations: 275.4 kB / 0.7516 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.009105, allocations: 0 / 0.7516 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.009137, allocations: 15.98 kB / 0.7516 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.009152, allocations: 15.88 kB / 0.7516 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.009156, allocations: 3.938 kB / 0.7516 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.009163, allocations: 0 / 0.7516 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.009164, allocations: 0 / 0.7516 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.009169, allocations: 7.938 kB / 0.7516 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.009288, allocations: 176 kB / 0.7518 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.009305, allocations: 6.75 kB / 0.7518 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.73e-05/0.009352, allocations: 7.938 kB / 0.7518 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.00939, allocations: 11.97 kB / 0.7518 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.009396, allocations: 4 kB / 0.7518 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.777e-05/0.009434, allocations: 42.69 kB / 0.7519 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009434, allocations: 0 / 0.7519 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001997/0.009634, allocations: 51.89 kB / 0.7519 GB, free: 11.43 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.0001404/0.009774, allocations: 102.6 kB / 0.752 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.01001, allocations: 301.8 kB / 0.7523 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.01002, allocations: 0 / 0.7523 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.98e-05/0.01006, allocations: 41.47 kB / 0.7523 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01025, allocations: 41.53 kB / 0.7524 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.01093, allocations: 299.8 kB / 0.7527 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.01098, allocations: 77.67 kB / 0.7527 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.463e-05/0.01102, allocations: 13.48 kB / 0.7528 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.01116, allocations: 91.33 kB / 0.7528 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.01116, allocations: 3.938 kB / 0.7528 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.005457/0.01661, allocations: 3.237 MB / 0.756 GB, free: 7.387 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: 5.051283392123878]