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.0009505/0.0009505, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.000991/0.000991, allocations: 171.5 kB / 25.05 MB, free: 9.211 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.012/1.012, allocations: 177.1 MB / 205.5 MB, free: 5.477 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 2.08/2.08, allocations: 389.6 MB / 0.6363 GB, free: 12.3 MB / 0.6042 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.866e-06/2.866e-06, allocations: 0 / 0.7761 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.891e-05, allocations: 6.578 kB / 0.7761 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.003052/0.003081, allocations: 1.121 MB / 0.7772 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.005281, allocations: 1.325 MB / 0.7785 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.005452, allocations: 7.938 kB / 0.7785 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.005624, allocations: 20.61 kB / 0.7786 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.00573, allocations: 35.53 kB / 0.7786 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.006349, allocations: 194.8 kB / 0.7788 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.006722, allocations: 304.6 kB / 0.7791 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.006917, allocations: 86.25 kB / 0.7791 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.00716, allocations: 175.6 kB / 0.7793 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.007314, allocations: 76.25 kB / 0.7794 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.007366, allocations: 32 kB / 0.7794 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.007483, allocations: 40.7 kB / 0.7795 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.007534, allocations: 51.83 kB / 0.7795 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.52e-05/0.00763, allocations: 85.22 kB / 0.7796 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.007964, allocations: 211.3 kB / 0.7798 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.007967, allocations: 0 / 0.7798 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.374e-06/0.00797, allocations: 6.734 kB / 0.7798 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.007975, allocations: 0 / 0.7798 GB, free: 1.57 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.0007394/0.008714, allocations: 430 kB / 0.7802 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.008756, allocations: 13.33 kB / 0.7802 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.00883, allocations: 36.84 kB / 0.7803 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.00911, allocations: 186.7 kB / 0.7804 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.009141, allocations: 20.64 kB / 0.7805 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.009183, allocations: 28.36 kB / 0.7805 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.009403, allocations: 159.1 kB / 0.7806 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.009413, allocations: 192 / 0.7806 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.00943, allocations: 8.375 kB / 0.7806 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.009439, allocations: 8.359 kB / 0.7806 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.96e-05/0.009529, allocations: 48.52 kB / 0.7807 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007278/0.01026, allocations: 352.5 kB / 0.781 GB, free: 228 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.01044, allocations: 75.88 kB / 0.7811 GB, free: 144 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.01049, allocations: 28.84 kB / 0.7811 GB, free: 112 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.0105, allocations: 7.922 kB / 0.7811 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.01077, allocations: 134.7 kB / 0.7813 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 3.366e-06/0.01077, allocations: 0 / 0.7813 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0003012/0.01107, allocations: 136.1 kB / 0.7814 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.01114, allocations: 60.41 kB / 0.7815 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.01161, allocations: 166.6 kB / 0.7816 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.01164, allocations: 37.7 kB / 0.7816 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.233e-05/0.01173, allocations: 132.9 kB / 0.7818 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.01177, allocations: 48.53 kB / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.01187, allocations: 57.66 kB / 0.7819 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01198, allocations: 326.8 kB / 0.7822 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.01208, allocations: 62.98 kB / 0.7822 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.0122, allocations: 113.6 kB / 0.7824 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.01239, allocations: 136.9 kB / 0.7825 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01239, allocations: 3.938 kB / 0.7825 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002968/0.01269, allocations: 214.4 kB / 0.7827 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/0.01273, allocations: 39.98 kB / 0.7827 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01274, allocations: 0 / 0.7827 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.01276, allocations: 4.531 kB / 0.7827 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.01286, allocations: 25.27 kB / 0.7828 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01287, allocations: 4 kB / 0.7828 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.01304, allocations: 37.27 kB / 0.7828 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.01307, allocations: 12 kB / 0.7828 GB, free: 14.25 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 0.0001235/0.01319, allocations: 126.4 kB / 0.7829 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.01323, allocations: 23.91 kB / 0.783 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.01327, allocations: 18.34 kB / 0.783 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01328, allocations: 0.6875 kB / 0.783 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.01328, allocations: 0 / 0.783 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.01328, allocations: 9.625 kB / 0.783 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.01373, allocations: 315.4 kB / 0.7833 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.01373, allocations: 3.938 kB / 0.7833 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.01379, allocations: 15.94 kB / 0.7833 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.0138, allocations: 1.5 kB / 0.7833 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.01381, allocations: 4 kB / 0.7833 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.01381, allocations: 3.984 kB / 0.7833 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01382, allocations: 0 / 0.7833 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.01401, allocations: 209.4 kB / 0.7835 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.01406, allocations: 19.78 kB / 0.7835 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.0141, allocations: 15.92 kB / 0.7835 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.0142, allocations: 4.938 kB / 0.7836 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.01426, allocations: 23.95 kB / 0.7836 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.01427, allocations: 9.062 kB / 0.7836 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.957e-05/0.01433, allocations: 37.81 kB / 0.7836 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01433, allocations: 0 / 0.7836 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002892/0.01462, allocations: 53.05 kB / 0.7837 GB, free: 13.32 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.0001766/0.0148, allocations: 98.64 kB / 0.7838 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.01508, allocations: 198.9 kB / 0.784 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.01509, allocations: 0 / 0.784 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.01517, allocations: 55.16 kB / 0.784 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.01545, allocations: 43.88 kB / 0.784 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.01603, allocations: 321.9 kB / 0.7844 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.678e-05/0.01609, allocations: 75.98 kB / 0.7844 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.141e-05/0.01616, allocations: 15.3 kB / 0.7844 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.0163, allocations: 88.41 kB / 0.7845 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.0163, allocations: 0 / 0.7845 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of Templates: time 0.006988/0.02329, allocations: 2.835 MB / 0.7873 GB, free: 9.758 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 -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.257190124131739]