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.001888/0.001888, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002047/0.002047, allocations: 212.9 kB / 23.02 MB, free: 2.949 MB / 13.93 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.702/1.702, allocations: 230.6 MB / 256.8 MB, free: 9.641 MB / 202.7 MB " [Timeout remaining time 178] 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 3.495/3.495, allocations: 0.5045 GB / 0.8104 GB, free: 2.797 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003751/0.003751, allocations: 63.91 kB / 1.177 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.014, allocations: 180 MB / 1.353 GB, free: 1.602 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002354/1.017, allocations: 0.7506 MB / 1.354 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002303/1.019, allocations: 1.354 MB / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/1.019, allocations: 4 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/1.019, allocations: 11.81 kB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/1.019, allocations: 15.86 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008739/1.02, allocations: 317.5 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004843/1.021, allocations: 371.3 kB / 1.356 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/1.021, allocations: 37.03 kB / 1.356 GB, free: 14.75 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/1.021, allocations: 159.7 kB / 1.356 GB, free: 14.6 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/1.021, allocations: 119.6 kB / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 7.786e-05/1.021, allocations: 36 kB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/1.022, allocations: 51.98 kB / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/1.022, allocations: 71.84 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/1.022, allocations: 127.7 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006129/1.022, allocations: 345.8 kB / 1.357 GB, free: 13.86 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.022, allocations: 4 kB / 1.357 GB, free: 13.86 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.064e-06/1.022, allocations: 0 / 1.357 GB, free: 13.86 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.022, allocations: 0 / 1.357 GB, free: 13.86 MB / 1.042 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.0009072/1.023, allocations: 486.9 kB / 1.357 GB, free: 13.34 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.023, allocations: 8.922 kB / 1.357 GB, free: 13.33 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/1.024, allocations: 32.83 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/1.024, allocations: 194.5 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/1.024, allocations: 20.36 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.101e-05/1.024, allocations: 40.36 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/1.025, allocations: 224.6 kB / 1.358 GB, free: 12.8 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/1.025, allocations: 7.938 kB / 1.358 GB, free: 12.8 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/1.025, allocations: 19.91 kB / 1.358 GB, free: 12.78 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/1.025, allocations: 4 kB / 1.358 GB, free: 12.77 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/1.025, allocations: 91.88 kB / 1.358 GB, free: 12.68 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/1.026, allocations: 455.9 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/1.026, allocations: 194.6 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/1.026, allocations: 96.8 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/1.026, allocations: 3.984 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008679/1.027, allocations: 0.5518 MB / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of pre-optimization done (n=44): time 1.743e-06/1.027, allocations: 0 / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of matching and sorting (n=44): time 0.0011/1.028, allocations: 0.5726 MB / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.029, allocations: 55.41 kB / 1.36 GB, free: 10.7 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/1.029, allocations: 156.2 kB / 1.36 GB, free: 10.54 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.979e-05/1.029, allocations: 65.62 kB / 1.36 GB, free: 10.47 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/1.029, allocations: 120.9 kB / 1.36 GB, free: 10.35 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/1.029, allocations: 107.3 kB / 1.36 GB, free: 10.24 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/1.029, allocations: 122.3 kB / 1.36 GB, free: 10.12 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.029, allocations: 338.8 kB / 1.36 GB, free: 9.777 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/1.03, allocations: 244.6 kB / 1.361 GB, free: 9.523 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/1.03, allocations: 357.5 kB / 1.361 GB, free: 9.125 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/1.031, allocations: 368.1 kB / 1.361 GB, free: 8.711 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/1.031, allocations: 4 kB / 1.361 GB, free: 8.707 MB / 1.042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001037/1.032, allocations: 0.6291 MB / 1.362 GB, free: 8.051 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 7.351e-05/1.032, allocations: 67.42 kB / 1.362 GB, free: 7.973 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/1.032, allocations: 4 kB / 1.362 GB, free: 7.969 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.032, allocations: 4 kB / 1.362 GB, free: 7.965 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/1.032, allocations: 27.86 kB / 1.362 GB, free: 7.938 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.032, allocations: 11.94 kB / 1.362 GB, free: 7.926 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/1.033, allocations: 83.66 kB / 1.362 GB, free: 7.844 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/1.033, allocations: 27.98 kB / 1.362 GB, free: 7.816 MB / 1.042 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,fal.y,tru.y,falCleTruIni.clr,falCleFalIni.clr,truCleTruIni.clr,truCleFalIni.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) * 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.0002344/1.033, allocations: 175.5 kB / 1.362 GB, free: 7.637 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/1.033, allocations: 23.86 kB / 1.362 GB, free: 7.613 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/1.033, allocations: 42.3 kB / 1.362 GB, free: 7.566 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.033, allocations: 7.938 kB / 1.362 GB, free: 7.559 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.033, allocations: 3.938 kB / 1.362 GB, free: 7.555 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.033, allocations: 0 / 1.362 GB, free: 7.555 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/1.035, allocations: 0.7763 MB / 1.363 GB, free: 6.742 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.035, allocations: 0 / 1.363 GB, free: 6.742 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/1.035, allocations: 11.92 kB / 1.363 GB, free: 6.73 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.035, allocations: 3.984 kB / 1.363 GB, free: 6.727 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/1.035, allocations: 27.91 kB / 1.363 GB, free: 6.699 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/1.035, allocations: 0 / 1.363 GB, free: 6.699 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.035, allocations: 0 / 1.363 GB, free: 6.699 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/1.035, allocations: 0.5365 MB / 1.364 GB, free: 6.148 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/1.035, allocations: 19.86 kB / 1.364 GB, free: 6.129 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/1.036, allocations: 31.92 kB / 1.364 GB, free: 6.098 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/1.036, allocations: 15.98 kB / 1.364 GB, free: 6.082 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/1.036, allocations: 75.83 kB / 1.364 GB, free: 6.008 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/1.036, allocations: 35.97 kB / 1.364 GB, free: 5.973 MB / 1.042 GB Notification: Performance of sorting global known variables: time 8.602e-05/1.036, allocations: 103.2 kB / 1.364 GB, free: 5.871 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/1.036, allocations: 0 / 1.364 GB, free: 5.871 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000393/1.036, allocations: 99.92 kB / 1.364 GB, free: 5.773 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 (swiCleInp1.clr,swiCleInp.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCleTruIni.u,falCleTruIni.y,falCleFalIni.u,falCleFalIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.y,togInp.y) * Number of discrete states: 12 (falCleFalIni.u,falCleFalIni.y,falCleTruIni.u,falCleTruIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002294/1.037, allocations: 145.2 kB / 1.364 GB, free: 5.629 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0009051/1.038, allocations: 0.5711 MB / 1.365 GB, free: 5.02 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.038, allocations: 0 / 1.365 GB, free: 5.02 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003112/1.038, allocations: 179.7 kB / 1.365 GB, free: 4.844 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/1.038, allocations: 35.97 kB / 1.365 GB, free: 4.809 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009306/1.039, allocations: 425.6 kB / 1.365 GB, free: 4.363 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/1.039, allocations: 129.3 kB / 1.365 GB, free: 4.215 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001428/1.039, allocations: 38.95 kB / 1.366 GB, free: 4.176 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/1.04, allocations: 47.41 kB / 1.366 GB, free: 4.129 MB / 1.042 GB Notification: Performance of SimCode: time 5.01e-07/1.04, allocations: 4 kB / 1.366 GB, free: 4.125 MB / 1.042 GB Notification: Performance of Templates: time 0.01061/1.05, allocations: 4.929 MB / 1.37 GB, free: 15.27 MB / 1.057 GB " [Timeout remaining time 299] 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: 10.813536330126226]