Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.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.001437/0.001437, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001855/0.001855, allocations: 166.3 kB / 25.18 MB, free: 8.328 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.9286/0.9286, allocations: 177.2 MB / 205.6 MB, free: 4.367 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.931/1.931, allocations: 389.6 MB / 0.6364 GB, free: 13.25 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.BaseClasses.Validation.HalfPeriodRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.907e-06/3.907e-06, allocations: 4 kB / 0.7756 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.543e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.001972/0.001998, allocations: 1.168 MB / 0.7767 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.003691, allocations: 1.45 MB / 0.7781 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.003803, allocations: 0 / 0.7781 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.835e-05/0.003861, allocations: 23.67 kB / 0.7782 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.004011, allocations: 59.58 kB / 0.7782 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.004734, allocations: 363.2 kB / 0.7786 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004548/0.005189, allocations: 467.1 kB / 0.779 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.005346, allocations: 78.06 kB / 0.7791 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.005625, allocations: 255.6 kB / 0.7793 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.005789, allocations: 131.6 kB / 0.7795 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/0.005839, allocations: 44 kB / 0.7795 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.005949, allocations: 59.98 kB / 0.7796 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.005989, allocations: 47.83 kB / 0.7796 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.006097, allocations: 139.7 kB / 0.7797 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.006426, allocations: 323 kB / 0.78 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.00643, allocations: 0 / 0.78 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.006431, allocations: 4 kB / 0.78 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.006435, allocations: 0 / 0.78 GB, free: 9.914 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005923/0.007027, allocations: 0.5086 MB / 0.7805 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.007063, allocations: 12.03 kB / 0.7806 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.007128, allocations: 40.89 kB / 0.7806 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.007335, allocations: 177.4 kB / 0.7808 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.007358, allocations: 16.38 kB / 0.7808 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.007392, allocations: 36.31 kB / 0.7808 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.007531, allocations: 122.6 kB / 0.7809 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.007538, allocations: 192 / 0.7809 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.00755, allocations: 8.359 kB / 0.7809 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.007557, allocations: 4.375 kB / 0.7809 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.007604, allocations: 35.92 kB / 0.781 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.008155, allocations: 371.5 kB / 0.7813 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.008259, allocations: 66.55 kB / 0.7814 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.008286, allocations: 25.11 kB / 0.7814 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.008303, allocations: 4 kB / 0.7814 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.008439, allocations: 131.2 kB / 0.7815 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.754e-06/0.008441, allocations: 3.938 kB / 0.7815 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0001971/0.008638, allocations: 149.3 kB / 0.7817 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.008674, allocations: 55.41 kB / 0.7817 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.008797, allocations: 202.2 kB / 0.7819 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.008827, allocations: 37.7 kB / 0.782 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.00889, allocations: 136.5 kB / 0.7821 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.00893, allocations: 51.58 kB / 0.7822 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.00902, allocations: 85.62 kB / 0.7822 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.009106, allocations: 330.8 kB / 0.7825 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.009236, allocations: 161 kB / 0.7827 GB, free: 7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.009385, allocations: 234.5 kB / 0.7829 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.009585, allocations: 274.3 kB / 0.7832 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.009588, allocations: 0 / 0.7832 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003401/0.009928, allocations: 439.4 kB / 0.7836 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-05/0.009986, allocations: 109.1 kB / 0.7837 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.009993, allocations: 4 kB / 0.7837 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01, allocations: 7.938 kB / 0.7837 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.0101, allocations: 27.92 kB / 0.7837 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.01011, allocations: 8.188 kB / 0.7838 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.01029, allocations: 71.83 kB / 0.7838 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.01031, allocations: 23.92 kB / 0.7838 GB, free: 5.66 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,halPerRat.tOffSam.y,$PRE.halPerRat.tOffSam.y,halPerRat.tOnSam.y,$PRE.halPerRat.tOnSam.y,tOnSig2.booPul.y,$PRE.tOnSig2.booPul.y,tOnSig1.booPul.y,$PRE.tOnSig1.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y,samTri.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 3 * 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.614e-05/0.01041, allocations: 137.8 kB / 0.784 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.01043, allocations: 15.98 kB / 0.784 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.01057, allocations: 119.4 kB / 0.7841 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01058, allocations: 7.984 kB / 0.7841 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01058, allocations: 0 / 0.7841 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01058, allocations: 4 kB / 0.7841 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.01087, allocations: 310.5 kB / 0.7844 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01087, allocations: 0 / 0.7844 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.01091, allocations: 19.98 kB / 0.7844 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01091, allocations: 3.938 kB / 0.7844 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.01092, allocations: 0 / 0.7844 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01092, allocations: 4 kB / 0.7844 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01092, allocations: 0 / 0.7844 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.01105, allocations: 214.7 kB / 0.7846 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.01107, allocations: 15.91 kB / 0.7847 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.01109, allocations: 11.94 kB / 0.7847 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.01112, allocations: 3.984 kB / 0.7847 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.01115, allocations: 11.98 kB / 0.7847 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.01116, allocations: 11.98 kB / 0.7847 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.01121, allocations: 57.95 kB / 0.7848 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01121, allocations: 0 / 0.7848 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002214/0.01143, allocations: 75.88 kB / 0.7848 GB, free: 4.605 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: 13 (samTri.y,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,halPerRat.tOnSam.y,halPerRat.tOffSam.y,tOnSig1.booPul.y,tOnSig2.booPul.y,tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001292/0.01156, allocations: 96.36 kB / 0.7849 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003318/0.01189, allocations: 448.1 kB / 0.7853 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.0119, allocations: 4 kB / 0.7854 GB, free: 4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.844e-05/0.01196, allocations: 48.77 kB / 0.7854 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01219, allocations: 60.45 kB / 0.7855 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.01265, allocations: 371 kB / 0.7858 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.704e-05/0.01274, allocations: 129.9 kB / 0.7859 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.01293, allocations: 115.3 kB / 0.786 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of SimCode: time 6.82e-07/0.01293, allocations: 0 / 0.786 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of Templates: time 0.004135/0.01707, allocations: 3.416 MB / 0.7894 GB, free: 15.82 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.767537385225296]