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.0009888/0.0009888, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.00102/0.00102, allocations: 161 kB / 24.17 MB, free: 324 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 1.012/1.012, allocations: 177.2 MB / 204.6 MB, free: 5.469 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.966/1.966, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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 1.703e-06/1.703e-06, allocations: 0 / 0.7752 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014e-05/1.184e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001442/0.001454, allocations: 1.034 MB / 0.7762 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.002699, allocations: 1.327 MB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.002775, allocations: 5.094 kB / 0.7775 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.96e-05/0.002875, allocations: 19.73 kB / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.002943, allocations: 33.69 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.003277, allocations: 176.4 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.003465, allocations: 224 kB / 0.7779 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.003684, allocations: 69.34 kB / 0.778 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.003981, allocations: 127.8 kB / 0.7781 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.004098, allocations: 71.77 kB / 0.7782 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.004128, allocations: 24 kB / 0.7782 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.004214, allocations: 35.98 kB / 0.7782 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.004244, allocations: 35.91 kB / 0.7783 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.004302, allocations: 67.81 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.004523, allocations: 183 kB / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.004527, allocations: 0 / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004528, allocations: 0 / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.004532, allocations: 0 / 0.7785 GB, free: 2.031 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.0004595/0.004992, allocations: 397.8 kB / 0.7789 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.005025, allocations: 8.75 kB / 0.7789 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.005143, allocations: 32.91 kB / 0.7789 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.005296, allocations: 146.3 kB / 0.7791 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.005312, allocations: 16.36 kB / 0.7791 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.005331, allocations: 17.19 kB / 0.7791 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.005458, allocations: 111.7 kB / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.005466, allocations: 0.875 kB / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.005476, allocations: 8.906 kB / 0.7792 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.005482, allocations: 4 kB / 0.7792 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.786e-05/0.00553, allocations: 28.52 kB / 0.7793 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.005906, allocations: 297 kB / 0.7795 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.006049, allocations: 67.34 kB / 0.7796 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.006076, allocations: 22.39 kB / 0.7796 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.006092, allocations: 0 / 0.7796 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.382e-05/0.006186, allocations: 79.28 kB / 0.7797 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.006187, allocations: 0.5312 kB / 0.7797 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001363/0.006323, allocations: 89.53 kB / 0.7798 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.006353, allocations: 60.38 kB / 0.7798 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.006429, allocations: 152.2 kB / 0.78 GB, free: 412 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.006449, allocations: 31.42 kB / 0.78 GB, free: 376 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.006495, allocations: 124.3 kB / 0.7801 GB, free: 248 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.006517, allocations: 27.78 kB / 0.7802 GB, free: 220 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.006571, allocations: 45.67 kB / 0.7802 GB, free: 168 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/0.006654, allocations: 322.8 kB / 0.7805 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.00671, allocations: 50.34 kB / 0.7806 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.006781, allocations: 118.7 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.209e-05/0.006863, allocations: 93.75 kB / 0.7808 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006865, allocations: 0 / 0.7808 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001471/0.007012, allocations: 176.4 kB / 0.7809 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.007044, allocations: 42.59 kB / 0.781 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.007049, allocations: 0 / 0.781 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.007061, allocations: 4 kB / 0.781 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.007121, allocations: 13.05 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.007124, allocations: 4 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.007207, allocations: 32.88 kB / 0.781 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.007221, allocations: 11.92 kB / 0.781 GB, free: 15.24 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.642e-05/0.007288, allocations: 119.2 kB / 0.7812 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.007304, allocations: 15.92 kB / 0.7812 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.007329, allocations: 13.91 kB / 0.7812 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.007331, allocations: 0 / 0.7812 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.007333, allocations: 4 kB / 0.7812 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.007337, allocations: 1.062 kB / 0.7812 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.753e-05/0.007424, allocations: 105.8 kB / 0.7813 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007426, allocations: 0 / 0.7813 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.007465, allocations: 16.48 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007467, allocations: 0.5312 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.007473, allocations: 0 / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.007477, allocations: 8.484 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007478, allocations: 5.188 kB / 0.7813 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.386e-05/0.007572, allocations: 97.03 kB / 0.7814 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.007585, allocations: 11.91 kB / 0.7814 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.007603, allocations: 11.98 kB / 0.7814 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.425e-05/0.007627, allocations: 4.688 kB / 0.7814 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.007668, allocations: 16.67 kB / 0.7815 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.007675, allocations: 8 kB / 0.7815 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.609e-05/0.007701, allocations: 36.02 kB / 0.7815 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007701, allocations: 0 / 0.7815 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001286/0.00783, allocations: 36.94 kB / 0.7815 GB, free: 14.71 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.0001146/0.007944, allocations: 89.47 kB / 0.7816 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.008099, allocations: 157.9 kB / 0.7818 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.008102, allocations: 1.406 kB / 0.7818 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.008142, allocations: 36.77 kB / 0.7818 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.008288, allocations: 26.34 kB / 0.7818 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.008759, allocations: 291.3 kB / 0.7821 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.008793, allocations: 71.33 kB / 0.7822 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.717e-05/0.00883, allocations: 6.547 kB / 0.7822 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.628e-05/0.008926, allocations: 79.34 kB / 0.7823 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.008927, allocations: 0 / 0.7823 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of Templates: time 0.004204/0.01313, allocations: 2.353 MB / 0.7846 GB, free: 11.69 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.968315883073956]