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.001483/0.001483, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001699/0.001699, allocations: 161 kB / 24.16 MB, free: 332 kB / 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.031/1.031, allocations: 177.2 MB / 204.6 MB, free: 5.34 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.975/1.975, allocations: 389.6 MB / 0.6354 GB, free: 12.27 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.035e-06/3.035e-06, allocations: 0.875 kB / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.177e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002942/0.002974, allocations: 1.169 MB / 0.7764 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00221/0.005184, allocations: 1.466 MB / 0.7778 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.005311, allocations: 0.9844 kB / 0.7778 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.753e-05/0.005359, allocations: 24.48 kB / 0.7778 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.005512, allocations: 59.91 kB / 0.7779 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.006146, allocations: 368.3 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.006534, allocations: 479 kB / 0.7787 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.006688, allocations: 75.5 kB / 0.7787 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.006929, allocations: 251.6 kB / 0.779 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.007097, allocations: 131.6 kB / 0.7791 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.00715, allocations: 48.94 kB / 0.7792 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.007252, allocations: 55.98 kB / 0.7792 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.638e-05/0.007289, allocations: 51.77 kB / 0.7793 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.602e-05/0.007385, allocations: 128.7 kB / 0.7794 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.009962, allocations: 327 kB / 0.7797 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.009967, allocations: 3.75 kB / 0.7797 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.202e-06/0.009968, allocations: 0 / 0.7797 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.009977, allocations: 0 / 0.7797 GB, free: 0.793 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0008209/0.0108, allocations: 0.5241 MB / 0.7802 GB, free: 228 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.01084, allocations: 13.28 kB / 0.7802 GB, free: 216 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.452e-05/0.01094, allocations: 36.91 kB / 0.7803 GB, free: 180 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.01118, allocations: 169.4 kB / 0.7804 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.01121, allocations: 20.38 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.01124, allocations: 28.36 kB / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.01139, allocations: 116.3 kB / 0.7806 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.0114, allocations: 3.312 kB / 0.7806 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.01141, allocations: 8.375 kB / 0.7806 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.01142, allocations: 384 / 0.7806 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.248e-05/0.01147, allocations: 44.36 kB / 0.7806 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.01199, allocations: 375.5 kB / 0.781 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.0121, allocations: 70.48 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.01213, allocations: 29.53 kB / 0.7811 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.01215, allocations: 5.75 kB / 0.7811 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.01229, allocations: 123.2 kB / 0.7812 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.01229, allocations: 0 / 0.7812 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0002205/0.01251, allocations: 135.6 kB / 0.7813 GB, free: 15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.01255, allocations: 64.42 kB / 0.7814 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.01266, allocations: 198.3 kB / 0.7816 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.01269, allocations: 33.7 kB / 0.7816 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.01276, allocations: 141 kB / 0.7818 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.0128, allocations: 51.61 kB / 0.7818 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.118e-05/0.01289, allocations: 77.42 kB / 0.7819 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.01298, allocations: 330.8 kB / 0.7822 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.01311, allocations: 164.9 kB / 0.7824 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.01325, allocations: 234.5 kB / 0.7826 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.01345, allocations: 269.1 kB / 0.7828 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01345, allocations: 0 / 0.7828 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003327/0.01378, allocations: 440.5 kB / 0.7833 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/0.01384, allocations: 105.1 kB / 0.7834 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01385, allocations: 4 kB / 0.7834 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.01387, allocations: 9.156 kB / 0.7834 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.095e-05/0.01396, allocations: 31.92 kB / 0.7834 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.01397, allocations: 4 kB / 0.7834 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.01414, allocations: 73.62 kB / 0.7835 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.01417, allocations: 19.92 kB / 0.7835 GB, free: 12.57 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.042e-05/0.01426, allocations: 128.7 kB / 0.7836 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.01428, allocations: 23.97 kB / 0.7836 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.01443, allocations: 119.8 kB / 0.7837 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01444, allocations: 0 / 0.7837 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.01444, allocations: 0.875 kB / 0.7837 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01444, allocations: 3.984 kB / 0.7838 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.01474, allocations: 321.5 kB / 0.7841 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01474, allocations: 0 / 0.7841 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.01478, allocations: 20.03 kB / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.01479, allocations: 7.922 kB / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.01479, allocations: 0.5938 kB / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01479, allocations: 4 kB / 0.7841 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.0148, allocations: 1.25 kB / 0.7841 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.01492, allocations: 205.1 kB / 0.7843 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.01494, allocations: 19.86 kB / 0.7843 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.01496, allocations: 4.812 kB / 0.7843 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.247e-05/0.015, allocations: 11.98 kB / 0.7843 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.01503, allocations: 12.86 kB / 0.7843 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.01504, allocations: 7.984 kB / 0.7843 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.01509, allocations: 60.38 kB / 0.7844 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01509, allocations: 4.5 kB / 0.7844 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002108/0.0153, allocations: 69.48 kB / 0.7845 GB, free: 11.52 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.0001247/0.01542, allocations: 99.25 kB / 0.7846 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.01575, allocations: 434.1 kB / 0.785 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.01575, allocations: 4.875 kB / 0.785 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.028e-05/0.0158, allocations: 57.95 kB / 0.785 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01604, allocations: 56.83 kB / 0.7851 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.01647, allocations: 345.2 kB / 0.7854 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.375e-05/0.01651, allocations: 76.88 kB / 0.7855 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.01656, allocations: 23.39 kB / 0.7855 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.01673, allocations: 116 kB / 0.7856 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.01673, allocations: 0 / 0.7856 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.006541/0.02327, allocations: 4.769 MB / 0.7903 GB, free: 5.75 MB / 0.7448 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 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.241370825562626]