Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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.0009182/0.0009182, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001551/0.001551, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9811/0.9811, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.985/1.985, allocations: 389.6 MB / 0.6354 GB, free: 12.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.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.7751 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.401e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001779/0.001803, allocations: 0.9955 MB / 0.7761 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.003385, allocations: 1.324 MB / 0.7774 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.003495, allocations: 4 kB / 0.7774 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.00362, allocations: 24.61 kB / 0.7774 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.003702, allocations: 18.22 kB / 0.7775 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.004198, allocations: 183.1 kB / 0.7776 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.004489, allocations: 232.5 kB / 0.7779 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.004674, allocations: 62.31 kB / 0.7779 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003674/0.005042, allocations: 135.8 kB / 0.778 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.005202, allocations: 67.75 kB / 0.7781 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.005246, allocations: 24 kB / 0.7781 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.448e-05/0.005331, allocations: 39.92 kB / 0.7782 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.005368, allocations: 40.47 kB / 0.7782 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.005432, allocations: 64.52 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.005681, allocations: 175.4 kB / 0.7784 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005683, allocations: 0.5312 kB / 0.7784 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.633e-06/0.005685, allocations: 0 / 0.7784 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.005691, allocations: 0.625 kB / 0.7784 GB, free: 2.035 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005291/0.00622, allocations: 394.4 kB / 0.7788 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.006253, allocations: 10.25 kB / 0.7788 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.006388, allocations: 32.91 kB / 0.7789 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.006553, allocations: 150.1 kB / 0.779 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.00657, allocations: 13.34 kB / 0.779 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.006594, allocations: 20.38 kB / 0.779 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.006728, allocations: 107.7 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006736, allocations: 0.7812 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.006747, allocations: 8.719 kB / 0.7791 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.006754, allocations: 4 kB / 0.7791 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.533e-05/0.006799, allocations: 33.11 kB / 0.7792 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.007196, allocations: 297 kB / 0.7795 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.007343, allocations: 59.45 kB / 0.7795 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.007372, allocations: 28.97 kB / 0.7795 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.007388, allocations: 1.188 kB / 0.7795 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.955e-05/0.007478, allocations: 71.3 kB / 0.7796 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.007479, allocations: 0 / 0.7796 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001434/0.007623, allocations: 86.5 kB / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.007653, allocations: 59.34 kB / 0.7798 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.007735, allocations: 156.7 kB / 0.7799 GB, free: 424 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.007756, allocations: 29.7 kB / 0.7799 GB, free: 388 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.007805, allocations: 125.8 kB / 0.7801 GB, free: 260 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.007828, allocations: 35.72 kB / 0.7801 GB, free: 224 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.007879, allocations: 37.69 kB / 0.7801 GB, free: 180 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.007984, allocations: 326.8 kB / 0.7804 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/0.008048, allocations: 58.77 kB / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.51e-05/0.008123, allocations: 102.8 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.982e-05/0.008212, allocations: 97.41 kB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.008215, allocations: 0 / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000157/0.008372, allocations: 170.6 kB / 0.7808 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.008407, allocations: 45.62 kB / 0.7809 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.008411, allocations: 0 / 0.7809 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.008425, allocations: 4.844 kB / 0.7809 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.00848, allocations: 8 kB / 0.7809 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.008486, allocations: 5.25 kB / 0.7809 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.341e-05/0.008569, allocations: 27.92 kB / 0.7809 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.008585, allocations: 17.67 kB / 0.7809 GB, free: 15.26 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,enaSig.y,$PRE.enaSig.y,relCon.hys.y,$PRE.relCon.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.114e-05/0.008666, allocations: 113.8 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.00868, allocations: 11.94 kB / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.008707, allocations: 20.77 kB / 0.7811 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.00871, allocations: 5.203 kB / 0.7811 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.008713, allocations: 4 kB / 0.7811 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.008716, allocations: 0 / 0.7811 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.955e-05/0.008816, allocations: 106.4 kB / 0.7812 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008817, allocations: 4 kB / 0.7812 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.008855, allocations: 13.11 kB / 0.7812 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008857, allocations: 0 / 0.7812 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.008865, allocations: 8 kB / 0.7812 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.008867, allocations: 4.781 kB / 0.7812 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008868, allocations: 7.875 kB / 0.7812 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.917e-05/0.008957, allocations: 89.59 kB / 0.7813 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.008972, allocations: 12.69 kB / 0.7813 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.008989, allocations: 4 kB / 0.7813 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.409e-05/0.009023, allocations: 12.8 kB / 0.7813 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.009066, allocations: 11.98 kB / 0.7814 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.009072, allocations: 3.984 kB / 0.7814 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.009103, allocations: 40.47 kB / 0.7814 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009103, allocations: 1.781 kB / 0.7814 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001427/0.009246, allocations: 39.89 kB / 0.7814 GB, free: 14.72 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,relCon.hys.y,enaSig.y) * Number of discrete states: 1 (relCon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001191/0.009365, allocations: 92.34 kB / 0.7815 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.009522, allocations: 160.8 kB / 0.7817 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.009526, allocations: 4 kB / 0.7817 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.009566, allocations: 28.78 kB / 0.7817 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.009705, allocations: 37.58 kB / 0.7818 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.01018, allocations: 273.9 kB / 0.782 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.436e-05/0.01021, allocations: 67.34 kB / 0.7821 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.01025, allocations: 12.97 kB / 0.7821 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.93e-05/0.01035, allocations: 84.84 kB / 0.7822 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.01035, allocations: 0 / 0.7822 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of Templates: time 0.004269/0.01462, allocations: 2.351 MB / 0.7845 GB, free: 11.7 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.161645724903792]