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.001942/0.001942, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.002074/0.002074, allocations: 173.2 kB / 23.23 MB, free: 1.324 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 1.628/1.628, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 178] 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 3.272/3.272, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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.344e-06/2.344e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.602e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002364/0.0024, allocations: 0.9684 MB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.004528, allocations: 1.283 MB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.717e-05/0.004626, allocations: 3.938 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.00475, allocations: 15.8 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.004844, allocations: 31.78 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.005432, allocations: 177.4 kB / 1.004 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.005753, allocations: 228 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.005941, allocations: 65 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005435/0.006484, allocations: 139.6 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.006639, allocations: 67.83 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.006688, allocations: 20 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.576e-05/0.006784, allocations: 39.98 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.006831, allocations: 39.84 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.006936, allocations: 67.81 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.007352, allocations: 279.1 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.007356, allocations: 0 / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.803e-06/0.007358, allocations: 0 / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.007363, allocations: 4 kB / 1.004 GB, free: 9.637 MB / 0.9636 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.0008299/0.008193, allocations: 431.2 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.008235, allocations: 8.75 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.008423, allocations: 32.83 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.0087, allocations: 169.7 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.008723, allocations: 12.38 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.008761, allocations: 16.38 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.009061, allocations: 126.2 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.009072, allocations: 192 / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.009094, allocations: 7.938 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.009102, allocations: 4 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.009345, allocations: 87.95 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.01016, allocations: 411.9 kB / 1.006 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.01051, allocations: 94.67 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.01063, allocations: 52.89 kB / 1.006 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.01066, allocations: 0 / 1.006 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.01088, allocations: 91.38 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.01088, allocations: 0 / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0004521/0.01133, allocations: 149.5 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.01139, allocations: 63.34 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.01158, allocations: 160.9 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.01162, allocations: 29.7 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01173, allocations: 124.5 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.01178, allocations: 35.69 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.01187, allocations: 41.69 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.01207, allocations: 322.8 kB / 1.007 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.01225, allocations: 93.61 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.01248, allocations: 142.8 kB / 1.007 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.01274, allocations: 135.1 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01274, allocations: 0 / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004838/0.01322, allocations: 249.3 kB / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.01327, allocations: 33.7 kB / 1.007 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01328, allocations: 3.938 kB / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.01329, allocations: 0 / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.01339, allocations: 15.98 kB / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.0134, allocations: 4 kB / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.01362, allocations: 47.91 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.01364, allocations: 8 kB / 1.007 GB, free: 6.254 MB / 0.9636 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 0.0001451/0.01379, allocations: 129.9 kB / 1.008 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.01381, allocations: 15.84 kB / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.01386, allocations: 16.77 kB / 1.008 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01386, allocations: 0 / 1.008 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.01387, allocations: 4 kB / 1.008 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01387, allocations: 4 kB / 1.008 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.01407, allocations: 161.3 kB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.01408, allocations: 0 / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-05/0.01416, allocations: 15.92 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.01416, allocations: 4 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.01417, allocations: 0 / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.01418, allocations: 3.984 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01418, allocations: 3.984 kB / 1.008 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.01448, allocations: 152.9 kB / 1.008 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.01451, allocations: 19.78 kB / 1.008 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.01454, allocations: 8 kB / 1.008 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.0146, allocations: 7.984 kB / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.01466, allocations: 11.98 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.01468, allocations: 4 kB / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001114/0.01479, allocations: 118.3 kB / 1.008 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01479, allocations: 0 / 1.008 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002611/0.01505, allocations: 39.89 kB / 1.008 GB, free: 5.492 MB / 0.9636 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.0002114/0.01526, allocations: 107.2 kB / 1.008 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.01568, allocations: 201 kB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.01569, allocations: 0 / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.01581, allocations: 47.86 kB / 1.009 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.01611, allocations: 39.77 kB / 1.009 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006277/0.01674, allocations: 254.4 kB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.01688, allocations: 107 kB / 1.009 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.672e-05/0.01695, allocations: 8.984 kB / 1.009 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.017, allocations: 20.48 kB / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.017, allocations: 0 / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of Templates: time 0.006804/0.02381, allocations: 2.174 MB / 1.011 GB, free: 2.531 MB / 0.9636 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: 9.367969834245741]