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.001606/0.001606, allocations: 80.75 kB / 20.83 MB, free: 3.629 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.001788/0.001788, allocations: 169 kB / 24.25 MB, free: 208 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 0.9265/0.9265, allocations: 177.2 MB / 204.7 MB, free: 5.457 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.904/1.904, allocations: 389.6 MB / 0.6355 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 1.903e-06/1.903e-06, allocations: 0 / 0.7754 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.796e-05, allocations: 3.062 kB / 0.7754 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002166/0.002194, allocations: 1.174 MB / 0.7765 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.004003, allocations: 1.46 MB / 0.778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.00412, allocations: 4 kB / 0.778 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.579e-05/0.004176, allocations: 19.73 kB / 0.778 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.004341, allocations: 56.53 kB / 0.778 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.004988, allocations: 356.1 kB / 0.7784 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000401/0.005389, allocations: 479 kB / 0.7788 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.005535, allocations: 77.38 kB / 0.7789 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.005758, allocations: 255.6 kB / 0.7791 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.005915, allocations: 127.6 kB / 0.7793 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.005967, allocations: 51.94 kB / 0.7793 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.006073, allocations: 55.98 kB / 0.7794 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.006112, allocations: 51.77 kB / 0.7794 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.906e-05/0.006211, allocations: 131.8 kB / 0.7795 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.006529, allocations: 323.1 kB / 0.7799 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.006533, allocations: 3.594 kB / 0.7799 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.613e-06/0.006534, allocations: 0 / 0.7799 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.006539, allocations: 0 / 0.7799 GB, free: 0.7031 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.000591/0.00713, allocations: 0.5202 MB / 0.7804 GB, free: 140 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.00717, allocations: 9.344 kB / 0.7804 GB, free: 132 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.007236, allocations: 36.91 kB / 0.7804 GB, free: 96 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.007456, allocations: 181.3 kB / 0.7806 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.00748, allocations: 16.38 kB / 0.7806 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.007509, allocations: 24.38 kB / 0.7806 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.007643, allocations: 117.3 kB / 0.7807 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.007651, allocations: 4.172 kB / 0.7807 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.007663, allocations: 8.375 kB / 0.7807 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/0.007815, allocations: 5.062 kB / 0.7808 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.133e-05/0.007867, allocations: 36.38 kB / 0.7808 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.008402, allocations: 376.6 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.008506, allocations: 67.3 kB / 0.7812 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.008537, allocations: 34.25 kB / 0.7812 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.008555, allocations: 4 kB / 0.7812 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.008687, allocations: 121.6 kB / 0.7814 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 3.356e-06/0.00869, allocations: 0.5625 kB / 0.7814 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0001961/0.008886, allocations: 141.4 kB / 0.7815 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.008924, allocations: 60.53 kB / 0.7816 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.009039, allocations: 198.3 kB / 0.7817 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.009066, allocations: 33.7 kB / 0.7818 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.009132, allocations: 138.2 kB / 0.7819 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.009168, allocations: 47.62 kB / 0.782 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-05/0.009256, allocations: 77.62 kB / 0.782 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.009346, allocations: 338.8 kB / 0.7824 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.009472, allocations: 162.6 kB / 0.7825 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.009617, allocations: 238.5 kB / 0.7827 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.00981, allocations: 276.9 kB / 0.783 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.009814, allocations: 4 kB / 0.783 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003412/0.01016, allocations: 449.8 kB / 0.7834 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.01022, allocations: 101.1 kB / 0.7835 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01023, allocations: 0 / 0.7835 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.01024, allocations: 9.062 kB / 0.7835 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.01034, allocations: 31.92 kB / 0.7836 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.01034, allocations: 11.98 kB / 0.7836 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.01052, allocations: 69.36 kB / 0.7836 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.01054, allocations: 16.64 kB / 0.7837 GB, free: 12.47 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 0.0001015/0.01064, allocations: 144.2 kB / 0.7838 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.01066, allocations: 20.03 kB / 0.7838 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.01081, allocations: 122.5 kB / 0.7839 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01081, allocations: 4 kB / 0.7839 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.01081, allocations: 0.7188 kB / 0.7839 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01082, allocations: 0 / 0.7839 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.0111, allocations: 307.2 kB / 0.7842 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.0111, allocations: 0 / 0.7842 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.01114, allocations: 20.86 kB / 0.7843 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.01115, allocations: 3.938 kB / 0.7843 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.01115, allocations: 9.062 kB / 0.7843 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.01116, allocations: 3.984 kB / 0.7843 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01116, allocations: 0 / 0.7843 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.01128, allocations: 202.8 kB / 0.7845 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.0113, allocations: 19.8 kB / 0.7845 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.01132, allocations: 11.92 kB / 0.7845 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.668e-05/0.01135, allocations: 4 kB / 0.7845 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.01139, allocations: 17.38 kB / 0.7845 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.01139, allocations: 4 kB / 0.7845 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.529e-05/0.01144, allocations: 68.34 kB / 0.7846 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01144, allocations: 0 / 0.7846 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000208/0.01165, allocations: 69.39 kB / 0.7846 GB, free: 11.41 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.0001386/0.01179, allocations: 103.1 kB / 0.7847 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.01212, allocations: 442.3 kB / 0.7852 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.01212, allocations: 0.625 kB / 0.7852 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.004e-05/0.01217, allocations: 50.5 kB / 0.7852 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.01241, allocations: 65.33 kB / 0.7853 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.01283, allocations: 349.3 kB / 0.7856 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.379e-05/0.01288, allocations: 76.28 kB / 0.7857 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.378e-05/0.01293, allocations: 21.95 kB / 0.7857 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.0131, allocations: 118.1 kB / 0.7858 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of SimCode: time 7.62e-07/0.0131, allocations: 0 / 0.7858 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of Templates: time 0.006756/0.01985, allocations: 4.755 MB / 0.7905 GB, free: 5.633 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 -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.1106347208842635]