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.0008509/0.0008509, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.002076, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008301/0.0008301, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.001879, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08739/1.089, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.952/1.952, allocations: 389.9 MB / 0.6191 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5125/2.465, allocations: 127.1 MB / 0.7432 GB, free: 4.609 MB / 0.7136 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.254e-06/2.254e-06, allocations: 0 / 0.7444 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.193e-05, allocations: 3.625 kB / 0.7445 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001997/0.002019, allocations: 1.044 MB / 0.7455 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00763/0.009649, allocations: 1.315 MB / 0.7468 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.009782, allocations: 5.938 kB / 0.7468 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.201e-05/0.009864, allocations: 20.39 kB / 0.7468 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.367e-05/0.009948, allocations: 30.3 kB / 0.7468 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.01037, allocations: 170.8 kB / 0.747 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.01065, allocations: 224.5 kB / 0.7472 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.01079, allocations: 62.3 kB / 0.7472 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.01103, allocations: 147.6 kB / 0.7474 GB, free: 384 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.01116, allocations: 68.98 kB / 0.7475 GB, free: 316 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.01119, allocations: 24 kB / 0.7475 GB, free: 292 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.01129, allocations: 43.86 kB / 0.7475 GB, free: 248 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.01132, allocations: 28.94 kB / 0.7475 GB, free: 220 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.01139, allocations: 47.88 kB / 0.7476 GB, free: 172 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.01161, allocations: 139.6 kB / 0.7477 GB, free: 32 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.952e-05/0.01163, allocations: 4.578 kB / 0.7477 GB, free: 28 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01163, allocations: 3.938 kB / 0.7477 GB, free: 24 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.01165, allocations: 0.7188 kB / 0.7477 GB, free: 24 kB / 0.7136 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.0006233/0.01227, allocations: 427 kB / 0.7481 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.01231, allocations: 8.031 kB / 0.7481 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/0.0155, allocations: 117.9 kB / 0.7483 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.01568, allocations: 155.7 kB / 0.7484 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.0157, allocations: 16.31 kB / 0.7484 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.01572, allocations: 16.38 kB / 0.7484 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.01587, allocations: 112.5 kB / 0.7485 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.01588, allocations: 192 / 0.7485 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.01589, allocations: 9.156 kB / 0.7486 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.0159, allocations: 7.984 kB / 0.7486 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.01596, allocations: 27.98 kB / 0.7486 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.0164, allocations: 297.4 kB / 0.7489 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.01658, allocations: 69.8 kB / 0.7489 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.01661, allocations: 24.78 kB / 0.749 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.01663, allocations: 0 / 0.749 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.01675, allocations: 87.36 kB / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.01675, allocations: 0 / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001659/0.01692, allocations: 81.59 kB / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.01695, allocations: 51.41 kB / 0.7492 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.01705, allocations: 161.4 kB / 0.7493 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.01707, allocations: 33.33 kB / 0.7494 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.01713, allocations: 124.4 kB / 0.7495 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.01715, allocations: 27.75 kB / 0.7495 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.01722, allocations: 45.67 kB / 0.7495 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.01732, allocations: 326.8 kB / 0.7499 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.734e-05/0.01738, allocations: 57.62 kB / 0.7499 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.361e-05/0.01747, allocations: 117.5 kB / 0.75 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.01757, allocations: 96.23 kB / 0.7501 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01757, allocations: 6.75 kB / 0.7501 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001835/0.01775, allocations: 169 kB / 0.7503 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.01779, allocations: 41.64 kB / 0.7503 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.0178, allocations: 0 / 0.7503 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.01781, allocations: 4 kB / 0.7503 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.01788, allocations: 15.98 kB / 0.7503 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.01789, allocations: 0 / 0.7503 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.01799, allocations: 37.64 kB / 0.7504 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.01801, allocations: 8 kB / 0.7504 GB, free: 13.08 MB / 0.7292 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 9.146e-05/0.0181, allocations: 118.7 kB / 0.7505 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.01812, allocations: 15.92 kB / 0.7505 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.01814, allocations: 13.34 kB / 0.7505 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01815, allocations: 4 kB / 0.7505 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.01815, allocations: 7.297 kB / 0.7505 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01816, allocations: 3.938 kB / 0.7505 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.01955, allocations: 109.8 kB / 0.7506 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01955, allocations: 0 / 0.7506 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.01961, allocations: 15.98 kB / 0.7507 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.01963, allocations: 11.91 kB / 0.7507 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01963, allocations: 0 / 0.7507 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.01964, allocations: 7.938 kB / 0.7507 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01964, allocations: 2.75 kB / 0.7507 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01964, allocations: 0 / 0.7507 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.01976, allocations: 97.03 kB / 0.7508 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.01978, allocations: 0 / 0.7508 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.01981, allocations: 7.938 kB / 0.7508 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.01985, allocations: 15.97 kB / 0.7508 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.01986, allocations: 0 / 0.7508 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.008e-05/0.01993, allocations: 43.45 kB / 0.7508 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01993, allocations: 1.656 kB / 0.7508 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001818/0.02011, allocations: 35.89 kB / 0.7509 GB, free: 12.54 MB / 0.7292 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.0001442/0.02026, allocations: 93.45 kB / 0.751 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.02043, allocations: 157.8 kB / 0.7511 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.02044, allocations: 8.797 kB / 0.7511 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.204e-05/0.02049, allocations: 28.8 kB / 0.7512 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.02064, allocations: 36.59 kB / 0.7512 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009566/0.0216, allocations: 279.1 kB / 0.7515 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.317e-05/0.02164, allocations: 71.33 kB / 0.7515 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.211e-05/0.0217, allocations: 9.641 kB / 0.7515 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.02181, allocations: 80.03 kB / 0.7516 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.02181, allocations: 3.938 kB / 0.7516 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of Templates: time 0.004399/0.02621, allocations: 2.441 MB / 0.754 GB, free: 9.418 MB / 0.7292 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: 4.947954008355737]