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.0006956/0.0006956, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009532/0.001649, 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.0007237/0.0007237, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009547/0.001678, 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 1.035/1.035, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09194/1.127, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.957/1.957, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5495/2.507, allocations: 127.1 MB / 0.7435 GB, free: 4.535 MB / 0.7136 GB " [Timeout remaining time 177] 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.174e-06/2.174e-06, allocations: 0 / 0.7448 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.422e-05, allocations: 6.25 kB / 0.7448 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002156/0.002181, allocations: 1.122 MB / 0.7459 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.003478, allocations: 1.325 MB / 0.7472 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.003604, allocations: 6.625 kB / 0.7472 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.186e-05/0.003685, allocations: 24.55 kB / 0.7472 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.003753, allocations: 31.56 kB / 0.7472 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.004117, allocations: 199.5 kB / 0.7474 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.004394, allocations: 300.7 kB / 0.7477 GB, free: 292 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.004523, allocations: 90.19 kB / 0.7478 GB, free: 200 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.004701, allocations: 176.2 kB / 0.748 GB, free: 24 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.004826, allocations: 87.67 kB / 0.748 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.004859, allocations: 34.44 kB / 0.7481 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.004939, allocations: 36 kB / 0.7481 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.004973, allocations: 39.86 kB / 0.7482 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.005034, allocations: 63.88 kB / 0.7482 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.00525, allocations: 185.7 kB / 0.7484 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.00526, allocations: 0 / 0.7484 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005261, allocations: 3.031 kB / 0.7484 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.005272, allocations: 0 / 0.7484 GB, free: 15.59 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005364/0.005808, allocations: 481.7 kB / 0.7489 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.005837, allocations: 8.031 kB / 0.7489 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.005888, allocations: 36.89 kB / 0.7489 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.006079, allocations: 182.1 kB / 0.7491 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.006104, allocations: 27.58 kB / 0.7491 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.006128, allocations: 20.38 kB / 0.7491 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.006274, allocations: 159.2 kB / 0.7493 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.006281, allocations: 192 / 0.7493 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.006293, allocations: 8.375 kB / 0.7493 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.006299, allocations: 4.375 kB / 0.7493 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.533e-05/0.006354, allocations: 56.38 kB / 0.7493 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.006823, allocations: 349.2 kB / 0.7497 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.006938, allocations: 83.67 kB / 0.7497 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.006968, allocations: 24.84 kB / 0.7498 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.006977, allocations: 4 kB / 0.7498 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.00711, allocations: 143.8 kB / 0.7499 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.007112, allocations: 0.5938 kB / 0.7499 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17): time 0.000167/0.007279, allocations: 129.5 kB / 0.75 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.007308, allocations: 56.5 kB / 0.7501 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/0.007398, allocations: 174.5 kB / 0.7503 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.00742, allocations: 37.69 kB / 0.7503 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.007475, allocations: 126 kB / 0.7504 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.0075, allocations: 47.61 kB / 0.7505 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.007557, allocations: 57.67 kB / 0.7505 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.007629, allocations: 330.8 kB / 0.7508 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-05/0.007693, allocations: 66.3 kB / 0.7509 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.007761, allocations: 110.5 kB / 0.751 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.007862, allocations: 143.8 kB / 0.7511 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.007865, allocations: 0 / 0.7511 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001708/0.008035, allocations: 209.7 kB / 0.7513 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.00807, allocations: 38.23 kB / 0.7514 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.008075, allocations: 5.688 kB / 0.7514 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.008086, allocations: 3.984 kB / 0.7514 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.00816, allocations: 23.94 kB / 0.7514 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.008163, allocations: 0 / 0.7514 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.008266, allocations: 40.55 kB / 0.7514 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.008279, allocations: 4.938 kB / 0.7514 GB, free: 12.23 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: 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.471e-05/0.008363, allocations: 139.5 kB / 0.7516 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.008382, allocations: 19.92 kB / 0.7516 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.008409, allocations: 21.81 kB / 0.7516 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.008412, allocations: 0 / 0.7516 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.008413, allocations: 0 / 0.7516 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.008417, allocations: 4.547 kB / 0.7516 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.008691, allocations: 315.9 kB / 0.7519 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.008694, allocations: 7.344 kB / 0.7519 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.00873, allocations: 12 kB / 0.7519 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.008757, allocations: 19.84 kB / 0.752 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.00876, allocations: 3.984 kB / 0.752 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.008768, allocations: 4 kB / 0.752 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.008772, allocations: 11.94 kB / 0.752 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008773, allocations: 0 / 0.752 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.008893, allocations: 210.7 kB / 0.7522 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.00891, allocations: 8 kB / 0.7522 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.488e-05/0.008965, allocations: 15.33 kB / 0.7522 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.009003, allocations: 15.97 kB / 0.7522 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.009011, allocations: 8 kB / 0.7522 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.009045, allocations: 38.06 kB / 0.7523 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009045, allocations: 0 / 0.7523 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001789/0.009224, allocations: 59.88 kB / 0.7523 GB, free: 11.29 MB / 0.7292 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.0001211/0.009345, allocations: 88.36 kB / 0.7524 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.009536, allocations: 210.2 kB / 0.7526 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.009543, allocations: 4 kB / 0.7526 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.955e-05/0.009603, allocations: 57.52 kB / 0.7527 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.0101, allocations: 243.1 kB / 0.7529 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.0107, allocations: 330.9 kB / 0.7532 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.01074, allocations: 75.98 kB / 0.7533 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.649e-05/0.0108, allocations: 15.98 kB / 0.7533 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.01091, allocations: 91.34 kB / 0.7534 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of SimCode: time 7.31e-07/0.01091, allocations: 0 / 0.7534 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of Templates: time 0.004788/0.01569, allocations: 2.914 MB / 0.7562 GB, free: 7.379 MB / 0.7292 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.058099705725908]