Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.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.0009651/0.0009651, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009162/0.0009162, allocations: 167.5 kB / 25.17 MB, free: 8.922 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.9661/0.9661, 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.903/1.903, allocations: 389.6 MB / 0.6364 GB, free: 13.31 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.OnOffPeriod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7756 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.492e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod): time 0.001717/0.001732, allocations: 1.335 MB / 0.7769 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.003094, allocations: 1.508 MB / 0.7784 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.003205, allocations: 7.938 kB / 0.7784 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.00334, allocations: 43.53 kB / 0.7784 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.251e-05/0.003413, allocations: 43.53 kB / 0.7784 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.003864, allocations: 319.3 kB / 0.7787 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.004192, allocations: 463.2 kB / 0.7792 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.004388, allocations: 166.8 kB / 0.7793 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.004574, allocations: 263.5 kB / 0.7796 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.004703, allocations: 115.6 kB / 0.7797 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.004748, allocations: 48 kB / 0.7798 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.824e-05/0.004836, allocations: 67.92 kB / 0.7798 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.004879, allocations: 75.75 kB / 0.7799 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.159e-05/0.004971, allocations: 127.7 kB / 0.78 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.00523, allocations: 330.9 kB / 0.7803 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005232, allocations: 0 / 0.7803 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.005232, allocations: 0 / 0.7803 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.005236, allocations: 0 / 0.7803 GB, free: 9.684 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0004717/0.005708, allocations: 0.5481 MB / 0.7809 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.005736, allocations: 15.97 kB / 0.7809 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.005794, allocations: 60.88 kB / 0.7809 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.006018, allocations: 221.2 kB / 0.7811 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.006037, allocations: 25.03 kB / 0.7812 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.006072, allocations: 40.38 kB / 0.7812 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.006234, allocations: 183.3 kB / 0.7814 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.006242, allocations: 192 / 0.7814 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.006256, allocations: 16.31 kB / 0.7814 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.006263, allocations: 8.375 kB / 0.7814 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.006335, allocations: 72.48 kB / 0.7815 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/0.006896, allocations: 0.5203 MB / 0.782 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.00705, allocations: 126.4 kB / 0.7821 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.007116, allocations: 52.83 kB / 0.7822 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.007131, allocations: 4 kB / 0.7822 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.007247, allocations: 131.2 kB / 0.7823 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.007249, allocations: 0 / 0.7823 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29): time 0.0001817/0.007431, allocations: 174.3 kB / 0.7825 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.007462, allocations: 55.41 kB / 0.7825 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.875e-05/0.007561, allocations: 202.2 kB / 0.7827 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.007586, allocations: 41.7 kB / 0.7827 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.007659, allocations: 164.6 kB / 0.7829 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.007697, allocations: 79.39 kB / 0.783 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.00778, allocations: 93.61 kB / 0.7831 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.007857, allocations: 338.7 kB / 0.7834 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.007949, allocations: 123.9 kB / 0.7835 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.008077, allocations: 221.4 kB / 0.7837 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.00825, allocations: 275.2 kB / 0.784 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.008254, allocations: 4 kB / 0.784 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002716/0.008526, allocations: 382.2 kB / 0.7843 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.008559, allocations: 67.39 kB / 0.7844 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.008565, allocations: 4 kB / 0.7844 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.008574, allocations: 4 kB / 0.7844 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.008677, allocations: 47.84 kB / 0.7845 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.008681, allocations: 4.344 kB / 0.7845 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.008822, allocations: 67.75 kB / 0.7845 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.008844, allocations: 19.92 kB / 0.7845 GB, free: 5.027 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 34 (onOffPer.timOffRec.yRec.y,$PRE.onOffPer.timOffRec.yRec.y,onOffPer.timOnRec.yRec.y,$PRE.onOffPer.timOnRec.yRec.y,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,relSwi.y,$PRE.relSwi.y,$whenCondition1,$whenCondition2,retSig.y,$PRE.retSig.y,onOffPer.timOffRec.edgThr.y,onOffPer.timOffRec.edgThr.u,$PRE.onOffPer.timOffRec.edgThr.u,onOffPer.timOffRec.edgRes.u,$PRE.onOffPer.timOffRec.edgRes.u,onOffPer.timOffRec.samTri.y,onOffPer.timOffRec.samTri.u2,onOffPer.timOnRec.edgThr.y,onOffPer.timOnRec.edgThr.u,$PRE.onOffPer.timOnRec.edgThr.u,onOffPer.timOnRec.edgRes.u,$PRE.onOffPer.timOnRec.edgRes.u,onOffPer.timOnRec.samTri.y,onOffPer.timOnRec.samTri.u2,onOffPer.timOff.y,$PRE.onOffPer.timOff.y,onOffPer.timOn.y,$PRE.onOffPer.timOn.y,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 2 * 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 8.631e-05/0.00893, allocations: 145.7 kB / 0.7847 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.008951, allocations: 27.97 kB / 0.7847 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.008984, allocations: 22.66 kB / 0.7847 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.008988, allocations: 8 kB / 0.7847 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.00899, allocations: 7.922 kB / 0.7848 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008994, allocations: 0 / 0.7848 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.0093, allocations: 395.2 kB / 0.7851 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.009301, allocations: 0 / 0.7851 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.009332, allocations: 12 kB / 0.7851 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.009336, allocations: 11.98 kB / 0.7851 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.009344, allocations: 4 kB / 0.7852 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.009345, allocations: 0 / 0.7852 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.009347, allocations: 7.938 kB / 0.7852 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.009472, allocations: 236.4 kB / 0.7854 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.009487, allocations: 23.8 kB / 0.7854 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.009503, allocations: 8 kB / 0.7854 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.009548, allocations: 11.98 kB / 0.7854 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.009582, allocations: 19.91 kB / 0.7854 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.009592, allocations: 7.984 kB / 0.7855 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.944e-05/0.009622, allocations: 46 kB / 0.7855 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/0.009622, allocations: 0 / 0.7855 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001866/0.009808, allocations: 83.78 kB / 0.7856 GB, free: 3.922 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: 24 (onOffPer.timOnRec.samTri.y,onOffPer.timOffRec.samTri.y,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onOffPer.timOn.y,onOffPer.timOff.y,onOffPer.timOnRec.yRec.y,onOffPer.timOnRec.samTri.u2,onOffPer.timOnRec.edgRes.u,onOffPer.timOnRec.edgThr.u,onOffPer.timOnRec.edgThr.y,onOffPer.timOffRec.yRec.y,onOffPer.timOffRec.samTri.u2,onOffPer.timOffRec.edgRes.u,onOffPer.timOffRec.edgThr.u,onOffPer.timOffRec.edgThr.y,relSwi.y,retSig.y) * Number of discrete states: 4 (onOffPer.timOnRec.edgRes.u,onOffPer.timOffRec.edgRes.u,onOffPer.timOffRec.edgThr.u,onOffPer.timOnRec.edgThr.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 9.798e-05/0.009906, allocations: 115 kB / 0.7857 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.01016, allocations: 360 kB / 0.786 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.01016, allocations: 4 kB / 0.786 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.01022, allocations: 69.25 kB / 0.7861 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.01039, allocations: 44.61 kB / 0.7861 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.01087, allocations: 479.2 kB / 0.7866 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.927e-05/0.01097, allocations: 159.3 kB / 0.7868 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.0111, allocations: 115.3 kB / 0.7869 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of SimCode: time 9.02e-07/0.0111, allocations: 0 / 0.7869 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.003459/0.01456, allocations: 3.676 MB / 0.7905 GB, free: 14.84 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9175405614078045]