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.001104/0.001104, allocations: 76.81 kB / 21.54 MB, free: 2.941 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.001318/0.001318, allocations: 167 kB / 24.96 MB, free: 8.703 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 0.9663/0.9663, allocations: 177.1 MB / 205.4 MB, free: 5.48 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.925/1.925, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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 2.485e-06/2.485e-06, allocations: 0 / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.281e-05, allocations: 2.969 kB / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001826/0.001848, allocations: 1.045 MB / 0.777 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.0033, allocations: 1.323 MB / 0.7783 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.003403, allocations: 4 kB / 0.7783 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.003508, allocations: 17.39 kB / 0.7783 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.003593, allocations: 30.19 kB / 0.7783 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.004027, allocations: 175 kB / 0.7785 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.004254, allocations: 228.7 kB / 0.7787 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.004375, allocations: 66.31 kB / 0.7788 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.00456, allocations: 131.8 kB / 0.7789 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.004664, allocations: 67.78 kB / 0.779 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.004692, allocations: 20 kB / 0.779 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/0.00477, allocations: 39.92 kB / 0.779 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.004801, allocations: 44.55 kB / 0.7791 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.075e-05/0.004851, allocations: 63.83 kB / 0.7791 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.005046, allocations: 172.1 kB / 0.7793 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.005049, allocations: 4 kB / 0.7793 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.113e-06/0.00505, allocations: 0.5312 kB / 0.7793 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.005054, allocations: 0.5 kB / 0.7793 GB, free: 1.973 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.0004115/0.005466, allocations: 398.6 kB / 0.7797 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.005495, allocations: 9.969 kB / 0.7797 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.005609, allocations: 32.91 kB / 0.7797 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.005761, allocations: 150.1 kB / 0.7799 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.005773, allocations: 13.09 kB / 0.7799 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.005791, allocations: 20.31 kB / 0.7799 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.005918, allocations: 109 kB / 0.78 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.005923, allocations: 192 / 0.78 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.005932, allocations: 12.11 kB / 0.78 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005937, allocations: 4 kB / 0.78 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.00598, allocations: 29.05 kB / 0.78 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.006343, allocations: 292.8 kB / 0.7803 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.006482, allocations: 68.09 kB / 0.7804 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.006509, allocations: 20.97 kB / 0.7804 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.006529, allocations: 4.75 kB / 0.7804 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.964e-05/0.006618, allocations: 79.28 kB / 0.7805 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.00662, allocations: 1.594 kB / 0.7805 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001462/0.006766, allocations: 81.59 kB / 0.7806 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.006804, allocations: 59.34 kB / 0.7806 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.006893, allocations: 156.2 kB / 0.7808 GB, free: 352 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.006911, allocations: 26.36 kB / 0.7808 GB, free: 320 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.006964, allocations: 124.4 kB / 0.7809 GB, free: 192 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.006986, allocations: 37.03 kB / 0.7809 GB, free: 156 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.007038, allocations: 41.69 kB / 0.781 GB, free: 108 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.007124, allocations: 322.8 kB / 0.7813 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.319e-05/0.007178, allocations: 49.69 kB / 0.7813 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.007244, allocations: 116.2 kB / 0.7814 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.007323, allocations: 92.16 kB / 0.7815 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.007325, allocations: 0.5938 kB / 0.7815 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001479/0.007472, allocations: 172.9 kB / 0.7817 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.007502, allocations: 41.64 kB / 0.7817 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007507, allocations: 0 / 0.7817 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.00752, allocations: 4.656 kB / 0.7817 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.007574, allocations: 17.11 kB / 0.7818 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.007577, allocations: 4 kB / 0.7818 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.007657, allocations: 32.98 kB / 0.7818 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.007669, allocations: 4 kB / 0.7818 GB, free: 15.2 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.321e-05/0.007742, allocations: 126.3 kB / 0.7819 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.007756, allocations: 9.719 kB / 0.7819 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.007785, allocations: 20.77 kB / 0.7819 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007787, allocations: 0 / 0.7819 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.007789, allocations: 0 / 0.7819 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.007795, allocations: 7.984 kB / 0.782 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.761e-05/0.007882, allocations: 106.6 kB / 0.7821 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007883, allocations: 3.938 kB / 0.7821 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.007917, allocations: 12.95 kB / 0.7821 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.007919, allocations: 4 kB / 0.7821 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-06/0.007925, allocations: 0.5312 kB / 0.7821 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.007927, allocations: 3.938 kB / 0.7821 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.007929, allocations: 4.625 kB / 0.7821 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.672e-05/0.008026, allocations: 97.62 kB / 0.7822 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.008039, allocations: 15.16 kB / 0.7822 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.008053, allocations: 0 / 0.7822 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.386e-05/0.008076, allocations: 11.92 kB / 0.7822 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.008111, allocations: 11.98 kB / 0.7822 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.008119, allocations: 7.984 kB / 0.7822 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.978e-05/0.008148, allocations: 39.94 kB / 0.7823 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008149, allocations: 0 / 0.7823 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001372/0.008286, allocations: 35.89 kB / 0.7823 GB, free: 14.65 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.0001092/0.008395, allocations: 95.38 kB / 0.7824 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.008561, allocations: 161.9 kB / 0.7825 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.008564, allocations: 0 / 0.7825 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.008602, allocations: 36.78 kB / 0.7826 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.008732, allocations: 28.22 kB / 0.7826 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.009191, allocations: 274 kB / 0.7829 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.576e-05/0.009227, allocations: 67.28 kB / 0.7829 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.37e-05/0.00927, allocations: 14.06 kB / 0.7829 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.863e-05/0.009369, allocations: 84.56 kB / 0.783 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.00937, allocations: 0 / 0.783 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of Templates: time 0.004095/0.01346, allocations: 2.358 MB / 0.7853 GB, free: 11.62 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.029805303551257]