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.002612/0.002612, allocations: 80.45 kB / 19.95 MB, free: 4.605 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.003334/0.003334, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.605/1.605, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] 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 3.205/3.205, allocations: 389.5 MB / 0.6343 GB, free: 12.64 MB / 0.6042 GB " [Timeout remaining time 176] 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 2.875e-06/2.875e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.274e-05, allocations: 6.219 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.SamplerWithResetThreshold): time 0.002624/0.002657, allocations: 0.9892 MB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.004883, allocations: 1.349 MB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.005029, allocations: 4 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.005184, allocations: 19.73 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.901e-05/0.005283, allocations: 31.73 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008002/0.006084, allocations: 269.8 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.006539, allocations: 307.3 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.00673, allocations: 72.72 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.006998, allocations: 163.8 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.0072, allocations: 83.73 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.032e-05/0.00727, allocations: 32 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.007381, allocations: 47.92 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.007435, allocations: 39.84 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.007574, allocations: 87.8 kB / 1.005 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005535/0.008127, allocations: 378.9 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.00813, allocations: 0 / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008131, allocations: 0 / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.00814, allocations: 0 / 1.005 GB, free: 9.207 MB / 0.9636 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.0008535/0.008994, allocations: 464.9 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.009033, allocations: 9.344 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.068e-05/0.009124, allocations: 24.84 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.009467, allocations: 190.2 kB / 1.006 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.009499, allocations: 16.36 kB / 1.006 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.009543, allocations: 20.38 kB / 1.006 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.009799, allocations: 118.2 kB / 1.006 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.009809, allocations: 192 / 1.006 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.009827, allocations: 8.359 kB / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.009834, allocations: 4.375 kB / 1.006 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.01001, allocations: 79.84 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008284/0.01084, allocations: 455.9 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.01105, allocations: 90.56 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.686e-05/0.01113, allocations: 41.11 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.01115, allocations: 0 / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.01135, allocations: 115.3 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.01135, allocations: 0 / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0003937/0.01175, allocations: 181.4 kB / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.0118, allocations: 67.33 kB / 1.007 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.012, allocations: 171.3 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.509e-05/0.01205, allocations: 33.7 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.01217, allocations: 132.4 kB / 1.007 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.01221, allocations: 35.69 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.01234, allocations: 69.67 kB / 1.007 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.01252, allocations: 322.8 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.01276, allocations: 151.3 kB / 1.008 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.01305, allocations: 188.5 kB / 1.008 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.01335, allocations: 208.5 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01335, allocations: 0 / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006593/0.01401, allocations: 410.4 kB / 1.008 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.867e-05/0.01408, allocations: 67.39 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.01409, allocations: 7.938 kB / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.01411, allocations: 0 / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.01418, allocations: 15.94 kB / 1.008 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.01419, allocations: 4.156 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.01452, allocations: 59.88 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.01456, allocations: 16 kB / 1.008 GB, free: 5.203 MB / 0.9636 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 0.0002053/0.01476, allocations: 145.7 kB / 1.009 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.01479, allocations: 11.95 kB / 1.009 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.01483, allocations: 21.41 kB / 1.009 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.01484, allocations: 4 kB / 1.009 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01484, allocations: 0 / 1.009 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01484, allocations: 0 / 1.009 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.01536, allocations: 400.9 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.01537, allocations: 3.984 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.0154, allocations: 11.88 kB / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.01541, allocations: 0 / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.01542, allocations: 4 kB / 1.009 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.01542, allocations: 7.984 kB / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01542, allocations: 4 kB / 1.009 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.01572, allocations: 235.8 kB / 1.009 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.01575, allocations: 19.83 kB / 1.009 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.01577, allocations: 8 kB / 1.009 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.01585, allocations: 4 kB / 1.009 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.01591, allocations: 19.91 kB / 1.009 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.01592, allocations: 8 kB / 1.009 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001105/0.01603, allocations: 120.9 kB / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01603, allocations: 0 / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002955/0.01633, allocations: 44 kB / 1.01 GB, free: 4.09 MB / 0.9636 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.0001897/0.01652, allocations: 121.8 kB / 1.01 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005344/0.01705, allocations: 343.9 kB / 1.01 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01705, allocations: 0 / 1.01 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.01716, allocations: 51.91 kB / 1.01 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.0175, allocations: 34.86 kB / 1.01 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.01815, allocations: 303.5 kB / 1.01 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.01826, allocations: 108 kB / 1.01 GB, free: 3.066 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.327e-05/0.01832, allocations: 17.48 kB / 1.01 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.01836, allocations: 24.48 kB / 1.01 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.01836, allocations: 0 / 1.01 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of Templates: time 0.007059/0.02542, allocations: 2.856 MB / 1.013 GB, free: 284 kB / 0.9636 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: 9.15897483471781]