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.0009322/0.0009322, allocations: 84.8 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.001021/0.001021, allocations: 166.2 kB / 25.05 MB, free: 9.152 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.9752/0.9752, allocations: 177.2 MB / 205.5 MB, free: 5.449 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.033/2.033, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.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 1.523e-06/1.523e-06, allocations: 0 / 0.7761 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.604e-05, allocations: 6.25 kB / 0.7761 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001521/0.001537, allocations: 1.043 MB / 0.7771 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.002847, allocations: 1.317 MB / 0.7784 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.002928, allocations: 4 kB / 0.7784 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.003039, allocations: 19.41 kB / 0.7785 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.003109, allocations: 24.45 kB / 0.7785 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.003492, allocations: 175.5 kB / 0.7786 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.00369, allocations: 228 kB / 0.7789 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.003812, allocations: 62.31 kB / 0.7789 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.003998, allocations: 139.1 kB / 0.7791 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.004103, allocations: 67.77 kB / 0.7791 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.004134, allocations: 24 kB / 0.7791 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.004211, allocations: 39.97 kB / 0.7792 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.004239, allocations: 39.84 kB / 0.7792 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.075e-05/0.004289, allocations: 63.83 kB / 0.7793 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.004477, allocations: 175.4 kB / 0.7795 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004479, allocations: 0 / 0.7795 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004479, allocations: 0 / 0.7795 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.004482, allocations: 7.594 kB / 0.7795 GB, free: 1.902 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.0004282/0.004911, allocations: 393.8 kB / 0.7798 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.004942, allocations: 8.75 kB / 0.7798 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.005065, allocations: 32.91 kB / 0.7799 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.005226, allocations: 146.4 kB / 0.78 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.005242, allocations: 16.31 kB / 0.78 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.005265, allocations: 16.38 kB / 0.78 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.005407, allocations: 111.7 kB / 0.7802 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.005421, allocations: 4.031 kB / 0.7802 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.005436, allocations: 8.125 kB / 0.7802 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.005443, allocations: 4 kB / 0.7802 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.005492, allocations: 28.52 kB / 0.7802 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.005912, allocations: 295.8 kB / 0.7805 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.006049, allocations: 58.55 kB / 0.7805 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.006076, allocations: 24.8 kB / 0.7806 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.006091, allocations: 2.781 kB / 0.7806 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.051e-05/0.006182, allocations: 79.41 kB / 0.7806 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.006184, allocations: 0 / 0.7806 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001357/0.006319, allocations: 81.66 kB / 0.7807 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.006348, allocations: 55.41 kB / 0.7808 GB, free: 464 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.821e-05/0.006437, allocations: 152.6 kB / 0.7809 GB, free: 300 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.006457, allocations: 33.7 kB / 0.7809 GB, free: 260 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.006503, allocations: 117.5 kB / 0.7811 GB, free: 140 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.006526, allocations: 35.72 kB / 0.7811 GB, free: 104 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.006577, allocations: 45.67 kB / 0.7811 GB, free: 52 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.006661, allocations: 331.9 kB / 0.7814 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.006711, allocations: 53.62 kB / 0.7815 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.59e-05/0.006777, allocations: 114.8 kB / 0.7816 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.006856, allocations: 93.22 kB / 0.7817 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.006858, allocations: 0.5938 kB / 0.7817 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001411/0.006999, allocations: 175.9 kB / 0.7819 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.007025, allocations: 42.56 kB / 0.7819 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.007029, allocations: 0 / 0.7819 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.007038, allocations: 0.5 kB / 0.7819 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.007094, allocations: 19.98 kB / 0.7819 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.007098, allocations: 4.875 kB / 0.7819 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.063e-05/0.007179, allocations: 33.42 kB / 0.782 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.007191, allocations: 4 kB / 0.782 GB, free: 15.12 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 6.927e-05/0.00726, allocations: 121.8 kB / 0.7821 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.007274, allocations: 16.45 kB / 0.7821 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.007301, allocations: 17.45 kB / 0.7821 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.007304, allocations: 4 kB / 0.7821 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.007307, allocations: 1.781 kB / 0.7821 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.007311, allocations: 3.984 kB / 0.7821 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.784e-05/0.007408, allocations: 109.8 kB / 0.7822 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.00741, allocations: 0 / 0.7822 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.007444, allocations: 8 kB / 0.7822 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.007447, allocations: 4.969 kB / 0.7822 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.007454, allocations: 7.984 kB / 0.7822 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.007456, allocations: 4.5 kB / 0.7823 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007457, allocations: 0 / 0.7823 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.187e-05/0.007549, allocations: 94.3 kB / 0.7823 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.007563, allocations: 19.83 kB / 0.7824 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.007579, allocations: 4 kB / 0.7824 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.602e-05/0.007605, allocations: 8.812 kB / 0.7824 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.007637, allocations: 11.97 kB / 0.7824 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.007643, allocations: 8.875 kB / 0.7824 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.857e-05/0.007672, allocations: 39.92 kB / 0.7824 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007672, allocations: 0 / 0.7824 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001307/0.007803, allocations: 40.45 kB / 0.7825 GB, free: 14.57 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 8.449e-05/0.007887, allocations: 81.95 kB / 0.7825 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.008309, allocations: 171.7 kB / 0.7827 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.008312, allocations: 0 / 0.7827 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.008352, allocations: 36.94 kB / 0.7827 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.008467, allocations: 22.8 kB / 0.7828 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.008883, allocations: 278.3 kB / 0.783 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.339e-05/0.008917, allocations: 71.33 kB / 0.7831 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.949e-05/0.008956, allocations: 13.81 kB / 0.7831 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.009048, allocations: 72.08 kB / 0.7832 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.009049, allocations: 0 / 0.7832 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.003826/0.01288, allocations: 2.361 MB / 0.7855 GB, free: 11.55 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.120038602501154]