Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.00169, allocations: 198 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.761/1.761, allocations: 251.7 MB / 0.5092 GB, free: 3.18 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003597/0.003597, allocations: 75.91 kB / 0.6223 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6882/0.6918, allocations: 104.7 MB / 0.7245 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.003013/0.6949, allocations: 1.497 MB / 0.726 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007726/0.6957, allocations: 364 kB / 0.7263 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.6958, allocations: 4 kB / 0.7264 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.68e-05/0.6959, allocations: 15.8 kB / 0.7264 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/0.696, allocations: 11.81 kB / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.6963, allocations: 115.8 kB / 0.7265 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.6965, allocations: 255.3 kB / 0.7267 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.6968, allocations: 53 kB / 0.7268 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.6969, allocations: 119.7 kB / 0.7269 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.697, allocations: 103.7 kB / 0.727 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.088e-05/0.6971, allocations: 24 kB / 0.727 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-05/0.6971, allocations: 28 kB / 0.727 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.6972, allocations: 75.77 kB / 0.7271 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.6974, allocations: 107.7 kB / 0.7272 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.6977, allocations: 241.2 kB / 0.7274 GB, free: 9.898 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6977, allocations: 0 / 0.7274 GB, free: 9.898 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6977, allocations: 0 / 0.7274 GB, free: 9.898 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.6977, allocations: 0 / 0.7274 GB, free: 9.898 MB / 0.545 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.0008205/0.6985, allocations: 498.9 kB / 0.7279 GB, free: 9.359 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.6986, allocations: 8.031 kB / 0.7279 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.6987, allocations: 32.72 kB / 0.728 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.6991, allocations: 255.9 kB / 0.7282 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.6991, allocations: 16.36 kB / 0.7282 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.6991, allocations: 28.36 kB / 0.7283 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.6995, allocations: 218 kB / 0.7285 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6995, allocations: 192 / 0.7285 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.6995, allocations: 23.89 kB / 0.7285 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6996, allocations: 0 / 0.7285 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.6998, allocations: 99.81 kB / 0.7286 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.7007, allocations: 0.5237 MB / 0.7291 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.7014, allocations: 270.5 kB / 0.7293 GB, free: 7.801 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.7015, allocations: 104.8 kB / 0.7294 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.7016, allocations: 4 kB / 0.7295 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000736/0.7023, allocations: 0.5356 MB / 0.73 GB, free: 7.148 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.7023, allocations: 7.938 kB / 0.73 GB, free: 7.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0008788/0.7032, allocations: 0.5083 MB / 0.7305 GB, free: 6.625 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.7033, allocations: 59.34 kB / 0.7305 GB, free: 6.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.7034, allocations: 162.2 kB / 0.7307 GB, free: 6.383 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.7035, allocations: 57.69 kB / 0.7307 GB, free: 6.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.7036, allocations: 120.9 kB / 0.7309 GB, free: 6.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.813e-05/0.7036, allocations: 90.94 kB / 0.7309 GB, free: 6.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.7038, allocations: 102.2 kB / 0.731 GB, free: 6.004 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7039, allocations: 338.8 kB / 0.7314 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.7042, allocations: 145.1 kB / 0.7315 GB, free: 5.523 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.7045, allocations: 231.6 kB / 0.7317 GB, free: 5.266 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.7048, allocations: 263.5 kB / 0.732 GB, free: 4.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.7048, allocations: 0 / 0.732 GB, free: 4.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.000577/0.7054, allocations: 406.6 kB / 0.7324 GB, free: 4.574 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.7054, allocations: 4 kB / 0.7324 GB, free: 4.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.7054, allocations: 8.25 kB / 0.7324 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.7054, allocations: 11.94 kB / 0.7324 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.7055, allocations: 27.92 kB / 0.7324 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.7055, allocations: 7.938 kB / 0.7324 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.7057, allocations: 39.67 kB / 0.7325 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.7057, allocations: 20 kB / 0.7325 GB, free: 4.457 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.falCle.clr,$PRE.truCle.clr,$PRE.iniFalOut.clr,$PRE.iniTruOut.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition26,$whenCondition25,tru.y,fal.y,truCle.clr,falCle.clr,iniFalOut.clr,iniTruOut.clr,togInp.pulseStart,$PRE.togInp.pulseStart,cleInp.pulseStart,$PRE.cleInp.pulseStart,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,iniTruOut.y,$PRE.iniTruOut.y,iniTruOut.u,$PRE.iniTruOut.u,iniFalOut.y,$PRE.iniFalOut.y,iniFalOut.u,$PRE.iniFalOut.u,truCle.y,$PRE.truCle.y,truCle.u,$PRE.truCle.u,falCle.y,$PRE.falCle.y,falCle.u,$PRE.falCle.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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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.000179/0.7059, allocations: 171 kB / 0.7326 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.706, allocations: 23.81 kB / 0.7327 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.727e-05/0.7061, allocations: 42.28 kB / 0.7327 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.7061, allocations: 7.938 kB / 0.7327 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7061, allocations: 0 / 0.7327 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7061, allocations: 0 / 0.7327 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.7073, allocations: 0.8851 MB / 0.7336 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7074, allocations: 0 / 0.7336 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.7074, allocations: 15.92 kB / 0.7336 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.7074, allocations: 4 kB / 0.7336 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.7074, allocations: 19.97 kB / 0.7336 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.7075, allocations: 4 kB / 0.7336 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7075, allocations: 0 / 0.7336 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/0.7081, allocations: 0.5027 MB / 0.7341 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.7082, allocations: 100.8 kB / 0.7342 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/0.7083, allocations: 27.98 kB / 0.7342 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.7084, allocations: 15.98 kB / 0.7342 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.7086, allocations: 67.89 kB / 0.7343 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.7086, allocations: 35.97 kB / 0.7343 GB, free: 2.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.799e-05/0.7087, allocations: 109.7 kB / 0.7345 GB, free: 2.328 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7087, allocations: 4 kB / 0.7345 GB, free: 2.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003463/0.7091, allocations: 83.86 kB / 0.7345 GB, free: 2.242 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 (swiCleInp1.clr,swiCleInp.clr,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCle.u,falCle.y,truCle.u,truCle.y,iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.pulseStart,togInp.pulseStart) * Number of discrete states: 12 (iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,falCle.u,falCle.y,truCle.u,truCle.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * 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.0002138/0.7093, allocations: 143.8 kB / 0.7347 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006871/0.71, allocations: 395.2 kB / 0.735 GB, free: 1.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.71, allocations: 4.125 kB / 0.7351 GB, free: 1.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.7103, allocations: 215.9 kB / 0.7353 GB, free: 1.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.7107, allocations: 43.17 kB / 0.7353 GB, free: 1.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009596/0.7117, allocations: 464.5 kB / 0.7357 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.712, allocations: 0.7371 MB / 0.7365 GB, free: 212 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.7121, allocations: 38.95 kB / 0.7365 GB, free: 176 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.7123, allocations: 47.41 kB / 0.7365 GB, free: 128 kB / 0.545 GB Notification: Performance of SimCode: time 1.313e-06/0.7123, allocations: 0 / 0.7365 GB, free: 128 kB / 0.545 GB Notification: Performance of Templates: time 0.007309/0.7196, allocations: 3.656 MB / 0.7401 GB, free: 12.48 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)