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.00102/0.00102, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004533/0.005553, allocations: 449.8 kB / 10.44 MB, free: 252 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.00114/0.00114, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005209/0.006348, allocations: 479.5 kB / 11.83 MB, free: 2.344 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 0.9906/0.9906, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09514/1.086, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.91/1.91, allocations: 390 MB / 0.6193 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4741/2.384, allocations: 127.1 MB / 0.7435 GB, free: 4.547 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.485e-06/2.485e-06, allocations: 0 / 0.7448 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.864e-05, allocations: 6.312 kB / 0.7448 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002718/0.002747, allocations: 1.04 MB / 0.7458 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.004889, allocations: 1.312 MB / 0.7471 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.00504, allocations: 4.844 kB / 0.7471 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.005152, allocations: 24.83 kB / 0.7471 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.00527, allocations: 25.61 kB / 0.7471 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006415/0.005912, allocations: 175.5 kB / 0.7473 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.006235, allocations: 224.4 kB / 0.7475 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.006416, allocations: 66.31 kB / 0.7476 GB, free: 444 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.006787, allocations: 145.2 kB / 0.7477 GB, free: 300 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.006956, allocations: 67.83 kB / 0.7478 GB, free: 232 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.514e-05/0.007001, allocations: 24 kB / 0.7478 GB, free: 208 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.007137, allocations: 47.86 kB / 0.7478 GB, free: 160 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.007183, allocations: 26.69 kB / 0.7479 GB, free: 136 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.634e-05/0.007259, allocations: 47.88 kB / 0.7479 GB, free: 88 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.007629, allocations: 143.5 kB / 0.7481 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.948e-05/0.007649, allocations: 0 / 0.7481 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.785e-06/0.007652, allocations: 0 / 0.7481 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.007672, allocations: 3.984 kB / 0.7481 GB, free: 15.94 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.0009537/0.008626, allocations: 426.2 kB / 0.7485 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.00868, allocations: 8.031 kB / 0.7485 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.008991, allocations: 119.4 kB / 0.7486 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.00924, allocations: 149.5 kB / 0.7487 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.009265, allocations: 16.38 kB / 0.7487 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.009296, allocations: 16.97 kB / 0.7488 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.009496, allocations: 102.9 kB / 0.7489 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.009507, allocations: 0.6875 kB / 0.7489 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.009524, allocations: 13.12 kB / 0.7489 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.009532, allocations: 4 kB / 0.7489 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.009601, allocations: 31.97 kB / 0.7489 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.01015, allocations: 305 kB / 0.7492 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.01037, allocations: 67.47 kB / 0.7493 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.01042, allocations: 25.75 kB / 0.7493 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.01045, allocations: 4 kB / 0.7493 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.01061, allocations: 82.2 kB / 0.7494 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.344e-06/0.01061, allocations: 0 / 0.7494 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0002023/0.01081, allocations: 85.86 kB / 0.7494 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.01085, allocations: 51.41 kB / 0.7495 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.01098, allocations: 160.1 kB / 0.7497 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.01101, allocations: 29.7 kB / 0.7497 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.01109, allocations: 120.4 kB / 0.7498 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.01113, allocations: 39.33 kB / 0.7498 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.01121, allocations: 41.67 kB / 0.7499 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.01132, allocations: 326.8 kB / 0.7502 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.01141, allocations: 57.69 kB / 0.7502 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.797e-05/0.01151, allocations: 110.8 kB / 0.7503 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.01163, allocations: 102.7 kB / 0.7504 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01163, allocations: 0 / 0.7504 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002231/0.01185, allocations: 172.3 kB / 0.7506 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/0.0119, allocations: 41.64 kB / 0.7506 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.0119, allocations: 0 / 0.7506 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01192, allocations: 4 kB / 0.7506 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.01202, allocations: 15.98 kB / 0.7507 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.01202, allocations: 0 / 0.7507 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.01214, allocations: 31.92 kB / 0.7507 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.01216, allocations: 8 kB / 0.7507 GB, free: 13 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.673e-05/0.01226, allocations: 121.5 kB / 0.7508 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.01228, allocations: 15.92 kB / 0.7508 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.01232, allocations: 16.78 kB / 0.7509 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01232, allocations: 0 / 0.7509 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01232, allocations: 0 / 0.7509 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.01233, allocations: 7.922 kB / 0.7509 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.01246, allocations: 105.8 kB / 0.751 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01246, allocations: 0 / 0.751 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.949e-05/0.01253, allocations: 19.98 kB / 0.751 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.01255, allocations: 14.91 kB / 0.751 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01255, allocations: 4 kB / 0.751 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.01256, allocations: 3.938 kB / 0.751 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01257, allocations: 0 / 0.751 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01257, allocations: 0 / 0.751 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.0127, allocations: 101 kB / 0.7511 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.01273, allocations: 4 kB / 0.7511 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.496e-05/0.01277, allocations: 7.938 kB / 0.7511 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.01282, allocations: 16.78 kB / 0.7511 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.01283, allocations: 4 kB / 0.7511 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.01287, allocations: 33.03 kB / 0.7512 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01287, allocations: 0 / 0.7512 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002285/0.0131, allocations: 39.89 kB / 0.7512 GB, free: 12.46 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.0001813/0.01328, allocations: 93.98 kB / 0.7513 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.0135, allocations: 158.8 kB / 0.7514 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.01351, allocations: 7.984 kB / 0.7514 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.01358, allocations: 40.78 kB / 0.7515 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.01385, allocations: 189.4 kB / 0.7517 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.01505, allocations: 278.5 kB / 0.7519 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.137e-05/0.0151, allocations: 67.95 kB / 0.752 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.32e-05/0.01516, allocations: 14.75 kB / 0.752 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.0153, allocations: 83.34 kB / 0.7521 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/0.0153, allocations: 0 / 0.7521 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.005735/0.02104, allocations: 2.406 MB / 0.7544 GB, free: 9.172 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.967173180542886]