Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.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.00102/0.00102, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.001942/0.001942, allocations: 164.8 kB / 24.96 MB, free: 9.172 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.006/1.006, allocations: 177.1 MB / 205.4 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 1.97/1.97, allocations: 389.6 MB / 0.6362 GB, free: 12.32 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.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0.6562 kB / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.659e-05, allocations: 2.312 kB / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001708/0.001735, allocations: 0.83 MB / 0.7768 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.003547, allocations: 1.391 MB / 0.7782 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.003622, allocations: 4 kB / 0.7782 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.003658, allocations: 7.875 kB / 0.7782 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.448e-05/0.003742, allocations: 20.66 kB / 0.7782 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006548/0.004397, allocations: 307.2 kB / 0.7785 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000348/0.004745, allocations: 369.7 kB / 0.7788 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.004863, allocations: 44.98 kB / 0.7789 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.005101, allocations: 235.6 kB / 0.7791 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.005258, allocations: 103.7 kB / 0.7792 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.005298, allocations: 32 kB / 0.7792 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.86e-05/0.005397, allocations: 47.98 kB / 0.7793 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.005451, allocations: 71.83 kB / 0.7793 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.461e-05/0.005536, allocations: 111.2 kB / 0.7795 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.005789, allocations: 275.2 kB / 0.7797 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005791, allocations: 0 / 0.7797 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005792, allocations: 0 / 0.7797 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.005796, allocations: 0 / 0.7797 GB, free: 1.578 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004979/0.006294, allocations: 463.5 kB / 0.7802 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.006334, allocations: 9.344 kB / 0.7802 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.006406, allocations: 44.88 kB / 0.7802 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.006597, allocations: 161.2 kB / 0.7804 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.006622, allocations: 20.36 kB / 0.7804 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.006659, allocations: 36.36 kB / 0.7804 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.006848, allocations: 197.8 kB / 0.7806 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.006855, allocations: 192 / 0.7806 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.006876, allocations: 20.28 kB / 0.7806 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.006882, allocations: 8.359 kB / 0.7806 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.792e-05/0.00695, allocations: 59.91 kB / 0.7807 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.007382, allocations: 297.7 kB / 0.781 GB, free: 216 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.007571, allocations: 154.3 kB / 0.7811 GB, free: 52 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.007642, allocations: 56.88 kB / 0.7812 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.007649, allocations: 4 kB / 0.7812 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.008053, allocations: 0.4918 MB / 0.7817 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 1.934e-06/0.008055, allocations: 0 / 0.7817 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0003444/0.008399, allocations: 314.5 kB / 0.782 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.00843, allocations: 55.41 kB / 0.782 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.008e-05/0.00852, allocations: 165 kB / 0.7822 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.008569, allocations: 61.69 kB / 0.7822 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.008624, allocations: 117 kB / 0.7823 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.008683, allocations: 111.2 kB / 0.7824 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.008802, allocations: 125 kB / 0.7826 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.008887, allocations: 334.8 kB / 0.7829 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.009021, allocations: 148.7 kB / 0.783 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.00919, allocations: 261.5 kB / 0.7833 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.009429, allocations: 319 kB / 0.7836 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.009434, allocations: 4.875 kB / 0.7836 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003702/0.009804, allocations: 463.1 kB / 0.784 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.009848, allocations: 68.08 kB / 0.7841 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.009855, allocations: 4 kB / 0.7841 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.009867, allocations: 5.312 kB / 0.7841 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.009996, allocations: 35.86 kB / 0.7841 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.01, allocations: 7.938 kB / 0.7841 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.0102, allocations: 68.58 kB / 0.7842 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.01023, allocations: 24.86 kB / 0.7842 GB, free: 12.65 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: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,truCleFalIni.clr,truCleTruIni.clr,falCleFalIni.clr,falCleTruIni.clr,togInp.y,$PRE.togInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.0001317/0.01037, allocations: 169 kB / 0.7844 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.01041, allocations: 47.89 kB / 0.7844 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.01047, allocations: 43.52 kB / 0.7845 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.01047, allocations: 3.984 kB / 0.7845 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01047, allocations: 0 / 0.7845 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.01049, allocations: 19.84 kB / 0.7845 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.01054, allocations: 28.7 kB / 0.7845 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.631e-05/0.01057, allocations: 11.98 kB / 0.7845 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.01067, allocations: 52.94 kB / 0.7846 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000211/0.01088, allocations: 309 kB / 0.7849 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002585/0.01114, allocations: 423.7 kB / 0.7853 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.408e-05/0.01123, allocations: 105.1 kB / 0.7854 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.869e-05/0.01126, allocations: 24.83 kB / 0.7854 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of Backend: time 2.3e-07/0.01126, allocations: 0.5625 kB / 0.7854 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.01178, allocations: 480 kB / 0.7859 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0006567/0.01243, allocations: 0.8477 MB / 0.7867 GB, free: 10 MB / 0.7448 GB Notification: Performance of Templates: time 0.007447/0.01988, allocations: 5.433 MB / 0.792 GB, free: 4.793 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.198340819217265]