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.0009702/0.0009702, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.0023, 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.001067/0.001067, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002375, 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.9678/0.9678, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08396/1.052, 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.951/1.951, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4908/2.442, 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.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 2.184e-06/2.184e-06, allocations: 0 / 0.7445 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.567e-05, allocations: 3.188 kB / 0.7445 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002831/0.002856, allocations: 1.167 MB / 0.7456 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.005045, allocations: 1.452 MB / 0.747 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.00519, allocations: 4 kB / 0.747 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.695e-05/0.005257, allocations: 20.3 kB / 0.747 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.005451, allocations: 69.12 kB / 0.7471 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008941/0.006345, allocations: 359.2 kB / 0.7474 GB, free: 304 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006057/0.006951, allocations: 469.1 kB / 0.7479 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.007141, allocations: 74.2 kB / 0.748 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.00759, allocations: 292.1 kB / 0.7482 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.007881, allocations: 127.7 kB / 0.7484 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.007983, allocations: 44.62 kB / 0.7484 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.008128, allocations: 64.7 kB / 0.7485 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.008175, allocations: 43.8 kB / 0.7485 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.008307, allocations: 92.56 kB / 0.7486 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.008689, allocations: 271.2 kB / 0.7489 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.702e-05/0.008706, allocations: 0.5312 kB / 0.7489 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.152e-06/0.008707, allocations: 0.5 kB / 0.7489 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.008727, allocations: 0 / 0.7489 GB, free: 14.85 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.0009219/0.009649, allocations: 0.576 MB / 0.7494 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.00969, allocations: 8.031 kB / 0.7494 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.009794, allocations: 44.89 kB / 0.7495 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.01009, allocations: 173.2 kB / 0.7496 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.01013, allocations: 25.33 kB / 0.7497 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.01018, allocations: 24.38 kB / 0.7497 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.01038, allocations: 111.5 kB / 0.7498 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.01039, allocations: 192 / 0.7498 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.01041, allocations: 8.969 kB / 0.7498 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.01042, allocations: 5.031 kB / 0.7498 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.0105, allocations: 40.44 kB / 0.7498 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007266/0.01122, allocations: 369.4 kB / 0.7502 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.01137, allocations: 70.48 kB / 0.7503 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.0114, allocations: 24.84 kB / 0.7503 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.01143, allocations: 13.45 kB / 0.7503 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.01161, allocations: 123.2 kB / 0.7504 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.883e-06/0.01161, allocations: 0 / 0.7504 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0002543/0.01186, allocations: 145.6 kB / 0.7506 GB, free: 13 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.01191, allocations: 59.41 kB / 0.7506 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.01205, allocations: 194.3 kB / 0.7508 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.01209, allocations: 37.7 kB / 0.7508 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.378e-05/0.01217, allocations: 136.5 kB / 0.751 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.01222, allocations: 55.55 kB / 0.751 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.01235, allocations: 79.69 kB / 0.7511 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.01244, allocations: 334.8 kB / 0.7514 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.01262, allocations: 165 kB / 0.7516 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.01288, allocations: 235 kB / 0.7518 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.01314, allocations: 280.7 kB / 0.7521 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.01315, allocations: 4 kB / 0.7521 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004975/0.01365, allocations: 437.8 kB / 0.7525 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.741e-05/0.01372, allocations: 108.2 kB / 0.7526 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01373, allocations: 2.75 kB / 0.7526 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01375, allocations: 7.938 kB / 0.7526 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.01387, allocations: 35.92 kB / 0.7526 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01388, allocations: 7.938 kB / 0.7526 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.01415, allocations: 75.28 kB / 0.7527 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.01419, allocations: 15.98 kB / 0.7527 GB, free: 10.56 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 0.0001156/0.01431, allocations: 133.8 kB / 0.7529 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.01434, allocations: 19.98 kB / 0.7529 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.01452, allocations: 115.4 kB / 0.753 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.01453, allocations: 4 kB / 0.753 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.01453, allocations: 0 / 0.753 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.01453, allocations: 0.5 kB / 0.753 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.01491, allocations: 324.5 kB / 0.7533 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01491, allocations: 0.7812 kB / 0.7533 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.01497, allocations: 19.92 kB / 0.7533 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.015, allocations: 17.06 kB / 0.7533 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.015, allocations: 4 kB / 0.7533 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.01501, allocations: 4 kB / 0.7533 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.01501, allocations: 0.7188 kB / 0.7533 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01501, allocations: 160 / 0.7533 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.01518, allocations: 209.5 kB / 0.7535 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.0152, allocations: 11.92 kB / 0.7536 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-05/0.01526, allocations: 4 kB / 0.7536 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.01529, allocations: 11.98 kB / 0.7536 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.0153, allocations: 8.516 kB / 0.7536 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.953e-05/0.01536, allocations: 59.28 kB / 0.7536 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01536, allocations: 0 / 0.7536 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002928/0.01566, allocations: 71.88 kB / 0.7537 GB, free: 9.516 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.0001452/0.0158, allocations: 97.94 kB / 0.7538 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00042/0.01622, allocations: 444.1 kB / 0.7542 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.01623, allocations: 4 kB / 0.7542 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.579e-05/0.0163, allocations: 48.77 kB / 0.7543 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.01664, allocations: 71.84 kB / 0.7543 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008297/0.01747, allocations: 349.9 kB / 0.7547 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.7e-05/0.01753, allocations: 80.22 kB / 0.7547 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.08e-05/0.01761, allocations: 28.27 kB / 0.7548 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.01784, allocations: 115.3 kB / 0.7549 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/0.01784, allocations: 0 / 0.7549 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of Templates: time 0.008509/0.02635, allocations: 4.953 MB / 0.7597 GB, free: 3.539 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: 5.031033972278237]