Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.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.0009017/0.0009017, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.0009422/0.0009422, allocations: 169.1 kB / 25.17 MB, free: 8.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 0.9096/0.9096, allocations: 177.2 MB / 205.6 MB, free: 4.012 MB / 186.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.916/1.916, allocations: 389.6 MB / 0.6364 GB, free: 13.27 MB / 0.6042 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.NormalizedTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.313e-05, allocations: 6.109 kB / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002028/0.002051, allocations: 1.114 MB / 0.7767 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.003378, allocations: 1.326 MB / 0.778 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.003493, allocations: 7.938 kB / 0.778 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.003623, allocations: 23.67 kB / 0.778 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.003684, allocations: 35.66 kB / 0.778 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.004074, allocations: 195.5 kB / 0.7782 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.004323, allocations: 307.9 kB / 0.7785 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.004456, allocations: 82.27 kB / 0.7786 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.004604, allocations: 171.6 kB / 0.7787 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.00471, allocations: 79.75 kB / 0.7788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.004746, allocations: 32 kB / 0.7789 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.004828, allocations: 39.98 kB / 0.7789 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.004866, allocations: 51.83 kB / 0.7789 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.004934, allocations: 83.8 kB / 0.779 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.005155, allocations: 207.3 kB / 0.7792 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.005158, allocations: 0 / 0.7792 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.01e-07/0.005158, allocations: 4 kB / 0.7792 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.005162, allocations: 0 / 0.7792 GB, free: 10.79 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004885/0.005651, allocations: 438 kB / 0.7796 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.00568, allocations: 8.031 kB / 0.7796 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.005729, allocations: 36.91 kB / 0.7797 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.005929, allocations: 182.1 kB / 0.7799 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.005949, allocations: 16.64 kB / 0.7799 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.00598, allocations: 32.34 kB / 0.7799 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.006125, allocations: 159.1 kB / 0.7801 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.006132, allocations: 192 / 0.7801 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.006145, allocations: 16.36 kB / 0.7801 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.00615, allocations: 4.375 kB / 0.7801 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.881e-05/0.006209, allocations: 44.52 kB / 0.7801 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.006678, allocations: 355.8 kB / 0.7805 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.006788, allocations: 78.52 kB / 0.7805 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.006819, allocations: 28.78 kB / 0.7806 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.006828, allocations: 11.94 kB / 0.7806 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.006961, allocations: 136.9 kB / 0.7807 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.006962, allocations: 0 / 0.7807 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0001668/0.007129, allocations: 129.5 kB / 0.7808 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.007162, allocations: 55.34 kB / 0.7809 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.007257, allocations: 170.6 kB / 0.781 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.007279, allocations: 37.69 kB / 0.7811 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.007335, allocations: 128.5 kB / 0.7812 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.007361, allocations: 51.56 kB / 0.7812 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.00742, allocations: 61.66 kB / 0.7813 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.007493, allocations: 326.8 kB / 0.7816 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.007549, allocations: 65.53 kB / 0.7817 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.007619, allocations: 106.8 kB / 0.7818 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.007721, allocations: 134.5 kB / 0.7819 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007723, allocations: 0 / 0.7819 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001782/0.007902, allocations: 220.7 kB / 0.7821 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.00793, allocations: 37.64 kB / 0.7822 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.007937, allocations: 7.984 kB / 0.7822 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.007945, allocations: 0 / 0.7822 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.008013, allocations: 24 kB / 0.7822 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.267e-06/0.008017, allocations: 0 / 0.7822 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.775e-05/0.008114, allocations: 39.86 kB / 0.7822 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.008128, allocations: 4 kB / 0.7822 GB, free: 7.453 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.norTimDel.tunEndDel.u,$whenCondition4,$whenCondition5,$PRE.norTimDel.tunEndDel.t_next,$whenCondition1,norTimDel.tunEndDel.t_next,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.u,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.167e-05/0.008209, allocations: 137.9 kB / 0.7824 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.008228, allocations: 19.92 kB / 0.7824 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.008256, allocations: 13.81 kB / 0.7824 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.00826, allocations: 4 kB / 0.7824 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.008263, allocations: 3.984 kB / 0.7824 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.008268, allocations: 3.984 kB / 0.7824 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.008542, allocations: 319.4 kB / 0.7827 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.008545, allocations: 3.938 kB / 0.7827 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.008581, allocations: 11.97 kB / 0.7827 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.008584, allocations: 11.94 kB / 0.7827 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.008594, allocations: 7.984 kB / 0.7827 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.008597, allocations: 4 kB / 0.7827 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008598, allocations: 0 / 0.7827 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.008979, allocations: 196.4 kB / 0.7829 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.009014, allocations: 23.83 kB / 0.783 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.009033, allocations: 11.94 kB / 0.783 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.588e-05/0.009089, allocations: 7.984 kB / 0.783 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.009129, allocations: 15.97 kB / 0.783 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.009138, allocations: 8 kB / 0.783 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.148e-05/0.009169, allocations: 53.8 kB / 0.7831 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009169, allocations: 0 / 0.7831 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001656/0.009335, allocations: 51.88 kB / 0.7831 GB, free: 6.504 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,norTimDel.gre.greHys.y,norTimDel.or2.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.t_next,rho.booPul.y,norTimDel.tunEndDel.u) * Number of discrete states: 2 (norTimDel.tunEndDel.t_next,norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * 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.0001205/0.009455, allocations: 96.36 kB / 0.7832 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.009632, allocations: 205 kB / 0.7834 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.009638, allocations: 0 / 0.7834 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.811e-05/0.009686, allocations: 49.08 kB / 0.7834 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.009864, allocations: 39.97 kB / 0.7835 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.01025, allocations: 347.6 kB / 0.7838 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.275e-05/0.01032, allocations: 120.9 kB / 0.7839 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01043, allocations: 87.34 kB / 0.784 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01043, allocations: 0 / 0.784 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.002776/0.0132, allocations: 2.553 MB / 0.7865 GB, free: 2.957 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.5849602203816175]