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.0009753/0.0009753, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.001068/0.001068, allocations: 168.8 kB / 24.97 MB, free: 9.18 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 1.016/1.016, allocations: 177.1 MB / 205.4 MB, free: 5.484 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.02/2.02, allocations: 389.6 MB / 0.6362 GB, free: 12.29 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.833e-06/1.833e-06, allocations: 0 / 0.776 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.37e-05, allocations: 5.688 kB / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod): time 0.001988/0.002011, allocations: 1.351 MB / 0.7773 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.003619, allocations: 1.506 MB / 0.7788 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.003748, allocations: 4.766 kB / 0.7788 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.003894, allocations: 47.38 kB / 0.7788 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.442e-05/0.003978, allocations: 46.81 kB / 0.7789 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.004482, allocations: 320 kB / 0.7792 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.004812, allocations: 471.1 kB / 0.7796 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.005016, allocations: 167.4 kB / 0.7798 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.005223, allocations: 259.5 kB / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.005377, allocations: 129.3 kB / 0.7802 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.005425, allocations: 52 kB / 0.7802 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.459e-05/0.00552, allocations: 56 kB / 0.7803 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.005566, allocations: 75.73 kB / 0.7803 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.281e-05/0.005659, allocations: 132.5 kB / 0.7805 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.005939, allocations: 322.9 kB / 0.7808 GB, free: 488 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005941, allocations: 4.438 kB / 0.7808 GB, free: 484 kB / 0.7292 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005941, allocations: 4.75 kB / 0.7808 GB, free: 480 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.005946, allocations: 0 / 0.7808 GB, free: 480 kB / 0.7292 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.0005011/0.006447, allocations: 0.5433 MB / 0.7813 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.006484, allocations: 13.33 kB / 0.7813 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.006544, allocations: 52.89 kB / 0.7814 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.006796, allocations: 233.2 kB / 0.7816 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.006816, allocations: 25.03 kB / 0.7816 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.00685, allocations: 36.38 kB / 0.7817 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.007033, allocations: 187.3 kB / 0.7818 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.007042, allocations: 2.938 kB / 0.7818 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.007058, allocations: 12.38 kB / 0.7818 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.007065, allocations: 8.375 kB / 0.7819 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/0.007159, allocations: 68.48 kB / 0.7819 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006948/0.007853, allocations: 0.5203 MB / 0.7824 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.008025, allocations: 120.4 kB / 0.7825 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.008097, allocations: 52.83 kB / 0.7826 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.008118, allocations: 7.984 kB / 0.7826 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.008255, allocations: 131.2 kB / 0.7827 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=29): time 2.134e-06/0.008257, allocations: 0.5312 kB / 0.7827 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29): time 0.0002018/0.008459, allocations: 162.7 kB / 0.7829 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.008487, allocations: 63.34 kB / 0.7829 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.008595, allocations: 204.3 kB / 0.7831 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.008622, allocations: 38.52 kB / 0.7832 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.008703, allocations: 168.6 kB / 0.7833 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.008741, allocations: 68.03 kB / 0.7834 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.008831, allocations: 102.5 kB / 0.7835 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.008924, allocations: 342.7 kB / 0.7838 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.183e-05/0.009016, allocations: 115.9 kB / 0.7839 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.009156, allocations: 225.9 kB / 0.7841 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.009348, allocations: 265 kB / 0.7844 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.009351, allocations: 4.969 kB / 0.7844 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003545/0.009706, allocations: 377.7 kB / 0.7848 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.009749, allocations: 71.39 kB / 0.7848 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.009754, allocations: 5.688 kB / 0.7848 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.009765, allocations: 8 kB / 0.7848 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.009868, allocations: 43.92 kB / 0.7849 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.009874, allocations: 4 kB / 0.7849 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.01002, allocations: 57.38 kB / 0.7849 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.01005, allocations: 19.94 kB / 0.785 GB, free: 11.88 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 0.0001059/0.01015, allocations: 159.6 kB / 0.7851 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.01018, allocations: 23.98 kB / 0.7851 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.01021, allocations: 27.73 kB / 0.7852 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01022, allocations: 0 / 0.7852 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01022, allocations: 0 / 0.7852 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.01024, allocations: 28.62 kB / 0.7852 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.01026, allocations: 11.92 kB / 0.7852 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.231e-05/0.01028, allocations: 8.906 kB / 0.7852 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.01032, allocations: 19.95 kB / 0.7852 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001384/0.01046, allocations: 203.1 kB / 0.7854 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001539/0.01062, allocations: 308 kB / 0.7857 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.695e-05/0.01067, allocations: 62.64 kB / 0.7858 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.01071, allocations: 48.8 kB / 0.7858 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of Backend: time 4.3e-07/0.01071, allocations: 0 / 0.7858 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.01111, allocations: 398.3 kB / 0.7862 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0006784/0.01179, allocations: 0.9296 MB / 0.7871 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of Templates: time 0.005849/0.01764, allocations: 3.931 MB / 0.791 GB, free: 5.867 MB / 0.7448 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0734358336776495]