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.001455/0.001455, allocations: 80.92 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.001671/0.001671, allocations: 165 kB / 24.17 MB, free: 328 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.043/1.043, allocations: 177.1 MB / 204.6 MB, free: 5.488 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 2.06/2.06, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] 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.663e-06/1.663e-06, allocations: 0 / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.674e-05, allocations: 3.125 kB / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.001579/0.001596, allocations: 1.124 MB / 0.7763 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.002956, allocations: 1.468 MB / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.003028, allocations: 0 / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.324e-05/0.003071, allocations: 23.67 kB / 0.7777 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.003199, allocations: 58.42 kB / 0.7778 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/0.004003, allocations: 370.3 kB / 0.7781 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.004329, allocations: 483 kB / 0.7786 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.004453, allocations: 66.3 kB / 0.7787 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.004646, allocations: 263.5 kB / 0.7789 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.004785, allocations: 123.7 kB / 0.779 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.004828, allocations: 48 kB / 0.7791 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.004903, allocations: 55.28 kB / 0.7791 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.004939, allocations: 51.77 kB / 0.7792 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.622e-05/0.005025, allocations: 131.8 kB / 0.7793 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.005277, allocations: 334.9 kB / 0.7796 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005279, allocations: 0 / 0.7796 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00528, allocations: 0 / 0.7796 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.806e-06/0.005282, allocations: 0 / 0.7796 GB, free: 0.8438 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.0004935/0.005776, allocations: 0.5202 MB / 0.7801 GB, free: 284 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.005805, allocations: 9.344 kB / 0.7801 GB, free: 276 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.005856, allocations: 40.66 kB / 0.7802 GB, free: 240 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.006035, allocations: 173.4 kB / 0.7803 GB, free: 40 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.006057, allocations: 16.38 kB / 0.7804 GB, free: 24 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.006089, allocations: 24.38 kB / 0.7804 GB, free: 0 / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.006213, allocations: 120.3 kB / 0.7805 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.00622, allocations: 4.125 kB / 0.7805 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.006231, allocations: 8.375 kB / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.006235, allocations: 384 / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.574e-05/0.006281, allocations: 40.38 kB / 0.7805 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.006734, allocations: 371.2 kB / 0.7809 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.968e-05/0.006823, allocations: 78.45 kB / 0.781 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.006854, allocations: 28.84 kB / 0.781 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.006867, allocations: 4 kB / 0.781 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.006975, allocations: 116.3 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.092e-06/0.006976, allocations: 0 / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0001727/0.007149, allocations: 147.7 kB / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.007177, allocations: 55.41 kB / 0.7813 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.007285, allocations: 204.9 kB / 0.7815 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.007312, allocations: 33.7 kB / 0.7815 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.007372, allocations: 140.4 kB / 0.7817 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.007402, allocations: 51.61 kB / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.007484, allocations: 77.62 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.007554, allocations: 334.8 kB / 0.7821 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.007666, allocations: 164.9 kB / 0.7823 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.007801, allocations: 231.6 kB / 0.7825 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.007976, allocations: 276.4 kB / 0.7828 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.007979, allocations: 0 / 0.7828 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000301/0.00828, allocations: 429.7 kB / 0.7832 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.008325, allocations: 105.1 kB / 0.7833 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.008331, allocations: 8.484 kB / 0.7833 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.008342, allocations: 8.812 kB / 0.7833 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.008409, allocations: 23.92 kB / 0.7833 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.008414, allocations: 5.469 kB / 0.7833 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.00858, allocations: 72.42 kB / 0.7834 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.008605, allocations: 24.66 kB / 0.7834 GB, free: 12.63 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 7.935e-05/0.008684, allocations: 136.9 kB / 0.7835 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.008701, allocations: 15.98 kB / 0.7835 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.008818, allocations: 121 kB / 0.7837 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.008821, allocations: 4 kB / 0.7837 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.008822, allocations: 1.062 kB / 0.7837 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.008825, allocations: 0 / 0.7837 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.009064, allocations: 318.5 kB / 0.784 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.009065, allocations: 0.5625 kB / 0.784 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.009096, allocations: 21.09 kB / 0.784 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.009099, allocations: 3.938 kB / 0.784 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.009105, allocations: 3.984 kB / 0.784 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.009107, allocations: 4.875 kB / 0.784 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.009108, allocations: 0 / 0.784 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.009221, allocations: 201.2 kB / 0.7842 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.009236, allocations: 20.72 kB / 0.7842 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.009252, allocations: 7.938 kB / 0.7842 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.645e-05/0.009288, allocations: 8.5 kB / 0.7842 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.009314, allocations: 15.97 kB / 0.7842 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.00932, allocations: 5.625 kB / 0.7843 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.009362, allocations: 60.58 kB / 0.7843 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009362, allocations: 0 / 0.7843 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000188/0.00955, allocations: 71.89 kB / 0.7844 GB, free: 11.58 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 8.998e-05/0.00964, allocations: 96.47 kB / 0.7845 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005514/0.01019, allocations: 438.6 kB / 0.7849 GB, free: 11 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01019, allocations: 0 / 0.7849 GB, free: 11 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.497e-05/0.01024, allocations: 55.02 kB / 0.7849 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.01044, allocations: 55.28 kB / 0.785 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.01079, allocations: 354.1 kB / 0.7853 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.663e-05/0.01083, allocations: 76.28 kB / 0.7854 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.01087, allocations: 24.2 kB / 0.7854 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.01102, allocations: 115.3 kB / 0.7855 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of SimCode: time 8.02e-07/0.01102, allocations: 0 / 0.7855 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of Templates: time 0.005463/0.01648, allocations: 4.764 MB / 0.7902 GB, free: 5.82 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.252587949857116]