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.0009521/0.0009521, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.00114/0.00114, allocations: 169.3 kB / 24.25 MB, free: 208 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.044/1.044, allocations: 177.1 MB / 204.7 MB, free: 5.445 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.911/1.911, allocations: 389.6 MB / 0.6355 GB, free: 12.28 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.743e-06/1.743e-06, allocations: 0 / 0.7754 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.701e-05, allocations: 2.969 kB / 0.7754 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001571/0.001588, allocations: 1.037 MB / 0.7764 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.002892, allocations: 1.317 MB / 0.7777 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.002968, allocations: 4 kB / 0.7777 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.003077, allocations: 20.78 kB / 0.7777 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.929e-05/0.003146, allocations: 26.14 kB / 0.7777 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.003503, allocations: 171.7 kB / 0.7779 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.003703, allocations: 232.5 kB / 0.7781 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.003834, allocations: 66.31 kB / 0.7782 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.004026, allocations: 135.6 kB / 0.7783 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004134, allocations: 63.84 kB / 0.7783 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.004164, allocations: 20 kB / 0.7784 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.968e-05/0.004244, allocations: 47.91 kB / 0.7784 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.004274, allocations: 39.89 kB / 0.7784 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.004333, allocations: 63.83 kB / 0.7785 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.00452, allocations: 170.9 kB / 0.7787 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.004524, allocations: 3.984 kB / 0.7787 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004525, allocations: 0 / 0.7787 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.004528, allocations: 3.938 kB / 0.7787 GB, free: 1.926 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.0004422/0.00497, allocations: 393.8 kB / 0.7791 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.005003, allocations: 12.75 kB / 0.7791 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.005106, allocations: 36.84 kB / 0.7791 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.005244, allocations: 146.8 kB / 0.7792 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.005257, allocations: 12.91 kB / 0.7793 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.005282, allocations: 22.14 kB / 0.7793 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.005404, allocations: 115.6 kB / 0.7794 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.00541, allocations: 192 / 0.7794 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.005422, allocations: 8.125 kB / 0.7794 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.005427, allocations: 4 kB / 0.7794 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.005472, allocations: 29.3 kB / 0.7794 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.005818, allocations: 292.2 kB / 0.7797 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.005952, allocations: 66.53 kB / 0.7798 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.005978, allocations: 16.84 kB / 0.7798 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.005994, allocations: 4 kB / 0.7798 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.33e-05/0.006077, allocations: 83.41 kB / 0.7799 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.006078, allocations: 0 / 0.7799 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001258/0.006204, allocations: 81.59 kB / 0.7799 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.006232, allocations: 59.41 kB / 0.78 GB, free: 472 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.006341, allocations: 149.6 kB / 0.7801 GB, free: 312 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.006368, allocations: 36.59 kB / 0.7802 GB, free: 272 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.006417, allocations: 120.4 kB / 0.7803 GB, free: 148 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.006439, allocations: 31.72 kB / 0.7803 GB, free: 116 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.006492, allocations: 41.69 kB / 0.7804 GB, free: 68 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.006587, allocations: 322.8 kB / 0.7807 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.006647, allocations: 53.69 kB / 0.7807 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.006719, allocations: 114.8 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.741e-05/0.006806, allocations: 96.5 kB / 0.7809 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006808, allocations: 0 / 0.7809 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001488/0.006957, allocations: 178.5 kB / 0.7811 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.006987, allocations: 45.56 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.006989, allocations: 1.062 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.006995, allocations: 0 / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.007058, allocations: 12.5 kB / 0.7812 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.007062, allocations: 3.984 kB / 0.7812 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/0.007146, allocations: 37.34 kB / 0.7812 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.00716, allocations: 7.984 kB / 0.7812 GB, free: 15.14 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 7.741e-05/0.007237, allocations: 119.3 kB / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.007253, allocations: 19.86 kB / 0.7813 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.007282, allocations: 16.78 kB / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.007284, allocations: 1.75 kB / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.007286, allocations: 0 / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.00729, allocations: 0 / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.052e-05/0.00738, allocations: 105.8 kB / 0.7814 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.007381, allocations: 0.6875 kB / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.007419, allocations: 19.98 kB / 0.7815 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.00742, allocations: 1.5 kB / 0.7815 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.007427, allocations: 4 kB / 0.7815 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007429, allocations: 3.938 kB / 0.7815 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007429, allocations: 0 / 0.7815 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.652e-05/0.007516, allocations: 101.8 kB / 0.7816 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.00753, allocations: 15.84 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.007544, allocations: 0 / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.545e-05/0.007569, allocations: 16.8 kB / 0.7816 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.007602, allocations: 11.97 kB / 0.7816 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.007608, allocations: 4.547 kB / 0.7816 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.583e-05/0.007634, allocations: 45.16 kB / 0.7817 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007634, allocations: 0 / 0.7817 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001247/0.007759, allocations: 41.23 kB / 0.7817 GB, free: 14.59 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.888e-05/0.007848, allocations: 85.72 kB / 0.7818 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.008006, allocations: 165.8 kB / 0.7819 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.008009, allocations: 0 / 0.7819 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.008045, allocations: 33.78 kB / 0.782 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.008169, allocations: 25.94 kB / 0.782 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.008579, allocations: 278.7 kB / 0.7823 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.008614, allocations: 71.33 kB / 0.7823 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.008648, allocations: 5.828 kB / 0.7823 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.376e-05/0.008742, allocations: 80.53 kB / 0.7824 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.008742, allocations: 0 / 0.7824 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of Templates: time 0.003773/0.01252, allocations: 2.36 MB / 0.7847 GB, free: 11.57 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.070522878319025]