Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006284/0.006288, allocations: 236.6 kB / 15.8 MB, free: 6.285 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001769/0.001769, allocations: 179.1 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.26/4.26, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.169/4.169, allocations: 472.3 MB / 0.9024 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007249/0.0007252, allocations: 16.2 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1955, allocations: 98.74 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001625/0.1971, allocations: 1.177 MB / 1.106 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009321/0.1981, allocations: 416.6 kB / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.1982, allocations: 0 / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.1982, allocations: 15.3 kB / 1.106 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.1984, allocations: 15.91 kB / 1.106 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.1987, allocations: 123.7 kB / 1.106 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.1991, allocations: 299.5 kB / 1.107 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1992, allocations: 45.89 kB / 1.107 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1994, allocations: 127.8 kB / 1.107 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.1996, allocations: 123.6 kB / 1.107 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.267e-05/0.1996, allocations: 16 kB / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.296e-05/0.1997, allocations: 16 kB / 1.107 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.956e-05/0.1998, allocations: 83.8 kB / 1.107 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.1999, allocations: 61.64 kB / 1.107 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.2002, allocations: 239.4 kB / 1.107 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2002, allocations: 3.5 kB / 1.107 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2002, allocations: 0 / 1.107 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.2002, allocations: 0 / 1.107 GB, free: 39.35 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001014/0.2013, allocations: 0.4959 MB / 1.108 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2013, allocations: 11.44 kB / 1.108 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.2014, allocations: 39.75 kB / 1.108 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.202, allocations: 266.8 kB / 1.108 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.2023, allocations: 364.4 kB / 1.108 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-05/0.2024, allocations: 35.98 kB / 1.108 GB, free: 38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000677/0.2031, allocations: 270.6 kB / 1.109 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2031, allocations: 3.469 kB / 1.109 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.2032, allocations: 7.984 kB / 1.109 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.2032, allocations: 7.953 kB / 1.109 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.2037, allocations: 173.4 kB / 1.109 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2051, allocations: 0.591 MB / 1.109 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.2064, allocations: 358.1 kB / 1.11 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/0.2068, allocations: 133.2 kB / 1.11 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.2068, allocations: 192 / 1.11 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.2079, allocations: 0.5697 MB / 1.111 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.266e-06/0.208, allocations: 0 / 1.111 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001525/0.2095, allocations: 0.5573 MB / 1.111 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.2095, allocations: 55.84 kB / 1.111 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2097, allocations: 154.9 kB / 1.111 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.875e-05/0.2098, allocations: 67.34 kB / 1.111 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.2099, allocations: 121.2 kB / 1.111 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.21, allocations: 110.8 kB / 1.112 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.2101, allocations: 12 kB / 1.112 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.2101, allocations: 345.5 kB / 1.112 GB, free: 34.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005065/0.2107, allocations: 173.2 kB / 1.112 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.2112, allocations: 312.6 kB / 1.112 GB, free: 33.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.2116, allocations: 124.7 kB / 1.112 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.2116, allocations: 0 / 1.112 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001144/0.2128, allocations: 481.7 kB / 1.113 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2128, allocations: 8 kB / 1.113 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.2128, allocations: 4 kB / 1.113 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.2129, allocations: 8 kB / 1.113 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.2131, allocations: 55.78 kB / 1.113 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.2132, allocations: 8 kB / 1.113 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.2135, allocations: 48.3 kB / 1.113 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.2135, allocations: 27 kB / 1.113 GB, free: 33.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 80 ($PRE.falCle.clr,$PRE.falCle.scenario,$PRE.truCle.clr,$PRE.truCle.scenario,$PRE.iniFalOut.clr,$PRE.iniFalOut.scenario,$PRE.iniTruOut.clr,$PRE.iniTruOut.scenario,$PRE.swiCleInp.clr,$PRE.swiCleInp.scenario,$PRE.swiCleInp1.clr,$PRE.swiCleInp1.scenario,$whenCondition26,$whenCondition25,tru.y,fal.y,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCle.u,falCle.u,$PRE.falCle.y,falCle.y,falCle.scenario,$PRE.truCle.u,truCle.u,$PRE.truCle.y,truCle.y,truCle.scenario,$PRE.iniFalOut.u,iniFalOut.u,$PRE.iniFalOut.y,iniFalOut.y,iniFalOut.scenario,$PRE.iniTruOut.u,iniTruOut.u,$PRE.iniTruOut.y,iniTruOut.y,iniTruOut.scenario,$PRE.swiCleInp.u,swiCleInp.u,swiCleInp.clr,$PRE.swiCleInp.y,swiCleInp.y,swiCleInp.scenario,$PRE.swiCleInp1.u,swiCleInp1.u,swiCleInp1.clr,$PRE.swiCleInp1.y,swiCleInp1.y,swiCleInp1.scenario,$PRE.cleInp.pulseStart,cleInp.pulseStart,$PRE.togInp.pulseStart,togInp.pulseStart,iniTruOut.clr,iniFalOut.clr,falCle.clr,truCle.clr) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002332/0.2138, allocations: 189.5 kB / 1.113 GB, free: 32.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.2139, allocations: 27.72 kB / 1.113 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.214, allocations: 44.09 kB / 1.113 GB, free: 32.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.214, allocations: 3.984 kB / 1.113 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.214, allocations: 0 / 1.113 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.2141, allocations: 97.77 kB / 1.113 GB, free: 32.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.2142, allocations: 27.98 kB / 1.113 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.2145, allocations: 24 kB / 1.113 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/0.2148, allocations: 108.2 kB / 1.114 GB, free: 32.62 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001231/0.2161, allocations: 0.53 MB / 1.114 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001072/0.2171, allocations: 0.6083 MB / 1.115 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004714/0.2176, allocations: 221.8 kB / 1.115 GB, free: 31.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.96e-05/0.2177, allocations: 111.4 kB / 1.115 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of Backend: time 7.32e-07/0.2177, allocations: 0 / 1.115 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.219, allocations: 406.2 kB / 1.115 GB, free: 30.75 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009324/0.2199, allocations: 0.8331 MB / 1.116 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.01149/0.2314, allocations: 4.531 MB / 1.121 GB, free: 25.56 MB / 0.6042 GB