Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.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.0006667/0.0006667, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008778/0.001545, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006751/0.0006751, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000897/0.001572, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9466/0.9466, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1369/1.084, 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 1.925/1.925, allocations: 390 MB / 0.6193 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5185/2.444, allocations: 127.1 MB / 0.7435 GB, free: 4.508 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.HalfPeriodRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7448 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.575e-05, allocations: 5.078 kB / 0.7448 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.001669/0.001684, allocations: 1.176 MB / 0.7459 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.002962, allocations: 1.458 MB / 0.7474 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.003033, allocations: 4 kB / 0.7474 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.003071, allocations: 22.3 kB / 0.7474 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.003174, allocations: 61.38 kB / 0.7474 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.0037, allocations: 359.9 kB / 0.7478 GB, free: 188 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006132/0.004314, allocations: 468.1 kB / 0.7482 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.004445, allocations: 80.69 kB / 0.7483 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.004671, allocations: 284.1 kB / 0.7486 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.004822, allocations: 123.6 kB / 0.7487 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.004871, allocations: 48 kB / 0.7488 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.004972, allocations: 66.84 kB / 0.7488 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.00501, allocations: 39.81 kB / 0.7489 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.255e-05/0.005103, allocations: 99.86 kB / 0.7489 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.005371, allocations: 259.2 kB / 0.7492 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.005383, allocations: 0 / 0.7492 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005385, allocations: 0 / 0.7492 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.005398, allocations: 0 / 0.7492 GB, free: 14.75 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006308/0.006029, allocations: 0.5823 MB / 0.7498 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.00606, allocations: 8.531 kB / 0.7498 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.006119, allocations: 38.41 kB / 0.7498 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.006309, allocations: 185.1 kB / 0.75 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.006331, allocations: 16.38 kB / 0.75 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.006368, allocations: 32.36 kB / 0.75 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.006489, allocations: 111.6 kB / 0.7501 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.006496, allocations: 192 / 0.7501 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.006508, allocations: 8.969 kB / 0.7501 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.006514, allocations: 8.312 kB / 0.7502 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.943e-05/0.006564, allocations: 45.92 kB / 0.7502 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.007042, allocations: 364.8 kB / 0.7505 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.00715, allocations: 74.48 kB / 0.7506 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.007178, allocations: 24.84 kB / 0.7506 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.007195, allocations: 0.9375 kB / 0.7506 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.007319, allocations: 121.7 kB / 0.7508 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.007321, allocations: 0 / 0.7508 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.000184/0.007505, allocations: 151.7 kB / 0.7509 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.007534, allocations: 59.25 kB / 0.751 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.007638, allocations: 191.6 kB / 0.7511 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.007667, allocations: 37.7 kB / 0.7512 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.007729, allocations: 136.5 kB / 0.7513 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.007762, allocations: 55.55 kB / 0.7514 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.421e-05/0.007847, allocations: 77.64 kB / 0.7514 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.007923, allocations: 334.8 kB / 0.7518 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.008044, allocations: 165 kB / 0.7519 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.00819, allocations: 234.4 kB / 0.7521 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.008369, allocations: 277.3 kB / 0.7524 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.008371, allocations: 0 / 0.7524 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000315/0.008686, allocations: 438.9 kB / 0.7528 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.008748, allocations: 109 kB / 0.7529 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.008755, allocations: 4 kB / 0.7529 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.00877, allocations: 7.938 kB / 0.7529 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.008861, allocations: 31.92 kB / 0.753 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.008866, allocations: 7.625 kB / 0.753 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.009039, allocations: 71.78 kB / 0.753 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.009069, allocations: 20.03 kB / 0.7531 GB, free: 10.46 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,halPerRat.tOffSam.y,$PRE.halPerRat.tOffSam.y,halPerRat.tOnSam.y,$PRE.halPerRat.tOnSam.y,tOnSig2.booPul.y,$PRE.tOnSig2.booPul.y,tOnSig1.booPul.y,$PRE.tOnSig1.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y,samTri.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 3 * 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.636e-05/0.009155, allocations: 134.1 kB / 0.7532 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.009175, allocations: 19.97 kB / 0.7532 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.009305, allocations: 119.2 kB / 0.7533 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.009308, allocations: 4 kB / 0.7533 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.009309, allocations: 0 / 0.7533 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.009314, allocations: 3.984 kB / 0.7533 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.009565, allocations: 314.5 kB / 0.7536 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.009567, allocations: 4 kB / 0.7536 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.009607, allocations: 23.92 kB / 0.7537 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.009624, allocations: 15.84 kB / 0.7537 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.009626, allocations: 0 / 0.7537 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.009634, allocations: 8 kB / 0.7537 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.009636, allocations: 2.938 kB / 0.7537 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.009637, allocations: 0 / 0.7537 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.009754, allocations: 206.2 kB / 0.7539 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.009769, allocations: 7.938 kB / 0.7539 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.002e-05/0.009809, allocations: 11.98 kB / 0.7539 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.009835, allocations: 11.92 kB / 0.7539 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.009843, allocations: 11.98 kB / 0.7539 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.009886, allocations: 56.36 kB / 0.754 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009886, allocations: 5.062 kB / 0.754 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001939/0.01008, allocations: 71.89 kB / 0.754 GB, free: 9.406 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 (samTri.y,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,halPerRat.tOnSam.y,halPerRat.tOffSam.y,tOnSig1.booPul.y,tOnSig2.booPul.y,tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001085/0.01019, allocations: 93.56 kB / 0.7541 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.01049, allocations: 449.4 kB / 0.7546 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.01049, allocations: 0.5938 kB / 0.7546 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.317e-05/0.01055, allocations: 60.28 kB / 0.7546 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.01114, allocations: 424.9 kB / 0.755 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005669/0.0117, allocations: 345.9 kB / 0.7554 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.255e-05/0.01175, allocations: 80.95 kB / 0.7554 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.894e-05/0.0118, allocations: 27.72 kB / 0.7555 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.01196, allocations: 119.3 kB / 0.7556 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.01196, allocations: 0 / 0.7556 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of Templates: time 0.005993/0.01795, allocations: 4.873 MB / 0.7603 GB, free: 3.09 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.928432632237673]