Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Toggle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009703/0.009703, allocations: 89.92 kB / 15.04 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001175/0.001175, allocations: 172.3 kB / 15.92 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.207/2.207, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.424/2.424, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006326/0.0006329, allocations: 18.69 kB / 0.6243 GB, free: 28.21 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2221, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002049/0.2242, allocations: 1.189 MB / 0.7292 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2252, allocations: 372.7 kB / 0.7296 GB, free: 8.586 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.2253, allocations: 0 / 0.7296 GB, free: 8.586 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.2253, allocations: 7.922 kB / 0.7296 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2255, allocations: 11.98 kB / 0.7296 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.2258, allocations: 87.78 kB / 0.7297 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.2261, allocations: 143.8 kB / 0.7298 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.2263, allocations: 41.27 kB / 0.7299 GB, free: 8.293 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.2264, allocations: 91.78 kB / 0.73 GB, free: 8.203 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.2266, allocations: 91.67 kB / 0.73 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.2267, allocations: 15.88 kB / 0.7301 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.801e-05/0.2267, allocations: 12 kB / 0.7301 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.63e-05/0.2268, allocations: 63.83 kB / 0.7301 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.2269, allocations: 49.64 kB / 0.7302 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.2272, allocations: 175.6 kB / 0.7303 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.2272, allocations: 0 / 0.7303 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2272, allocations: 0 / 0.7303 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2272, allocations: 4 kB / 0.7304 GB, free: 7.793 MB / 0.5573 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.0009616/0.2282, allocations: 443.1 kB / 0.7308 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.2283, allocations: 16.03 kB / 0.7308 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.413e-05/0.2284, allocations: 50.53 kB / 0.7308 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.2284, allocations: 23.77 kB / 0.7309 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.229, allocations: 246.8 kB / 0.7311 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.2291, allocations: 19.98 kB / 0.7311 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/0.2292, allocations: 24 kB / 0.7311 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.2298, allocations: 227.8 kB / 0.7314 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2298, allocations: 0 / 0.7314 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/0.2298, allocations: 11.98 kB / 0.7314 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.2299, allocations: 4 kB / 0.7314 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.2302, allocations: 91.88 kB / 0.7315 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.2315, allocations: 0.5353 MB / 0.732 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.2326, allocations: 286.5 kB / 0.7323 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.2326, allocations: 4 kB / 0.7323 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/0.2339, allocations: 0.5295 MB / 0.7328 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 6.993e-06/0.2339, allocations: 4 kB / 0.7328 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.00146/0.2354, allocations: 0.5083 MB / 0.7333 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.2355, allocations: 55.41 kB / 0.7333 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.2357, allocations: 165.9 kB / 0.7335 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.2358, allocations: 53.7 kB / 0.7335 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.2359, allocations: 116.9 kB / 0.7336 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.2361, allocations: 94.92 kB / 0.7337 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.2361, allocations: 12 kB / 0.7338 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2363, allocations: 334.8 kB / 0.7341 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.2368, allocations: 153 kB / 0.7342 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.2373, allocations: 231.5 kB / 0.7344 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.2376, allocations: 102.2 kB / 0.7345 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2376, allocations: 0 / 0.7345 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001015/0.2387, allocations: 410.6 kB / 0.7349 GB, free: 2.852 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2387, allocations: 4 kB / 0.7349 GB, free: 2.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.2387, allocations: 7.938 kB / 0.7349 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.2387, allocations: 4 kB / 0.7349 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.2389, allocations: 35.86 kB / 0.735 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.2389, allocations: 7.984 kB / 0.735 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.2392, allocations: 35.78 kB / 0.735 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.2393, allocations: 19.98 kB / 0.735 GB, free: 2.738 MB / 0.5573 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,$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,$PRE.truCle.u,truCle.u,$PRE.truCle.y,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,$PRE.iniFalOut.y,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,$PRE.iniTruOut.y,iniTruOut.y,$PRE.swiCleInp.u,swiCleInp.u,swiCleInp.clr,$PRE.swiCleInp.y,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,swiCleInp1.clr,$PRE.swiCleInp1.y,swiCleInp1.y,$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 (68): * Single equations (assignments): 68 * 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.000267/0.2396, allocations: 171.1 kB / 0.7352 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.2397, allocations: 31.66 kB / 0.7352 GB, free: 2.531 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.2398, allocations: 38.31 kB / 0.7353 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.2398, allocations: 4 kB / 0.7353 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2399, allocations: 0 / 0.7353 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.2399, allocations: 7.984 kB / 0.7353 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.2419, allocations: 0.8851 MB / 0.7361 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2419, allocations: 0 / 0.7361 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.878e-05/0.242, allocations: 11.94 kB / 0.7362 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.242, allocations: 4 kB / 0.7362 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/0.2421, allocations: 19.97 kB / 0.7362 GB, free: 1.492 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.2421, allocations: 4 kB / 0.7362 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.2421, allocations: 0 / 0.7362 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.2433, allocations: 0.4948 MB / 0.7367 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.2434, allocations: 92.92 kB / 0.7368 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.2435, allocations: 23.98 kB / 0.7368 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.2438, allocations: 31.97 kB / 0.7368 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/0.2441, allocations: 91.8 kB / 0.7369 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-05/0.2442, allocations: 31.97 kB / 0.7369 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001051/0.2443, allocations: 110.1 kB / 0.737 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.224e-06/0.2443, allocations: 0 / 0.737 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005709/0.2449, allocations: 79.88 kB / 0.7371 GB, free: 0.5078 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001533/0.2465, allocations: 1.086 MB / 0.7382 GB, free: 15.39 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.2475, allocations: 370.8 kB / 0.7385 GB, free: 15.04 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2476, allocations: 0.625 kB / 0.7385 GB, free: 15.04 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005065/0.2481, allocations: 215.8 kB / 0.7387 GB, free: 14.82 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.2485, allocations: 23.98 kB / 0.7387 GB, free: 14.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.2527, allocations: 2.964 MB / 0.7416 GB, free: 11.75 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.2531, allocations: 0.7413 MB / 0.7424 GB, free: 10.98 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002341/0.2534, allocations: 38.91 kB / 0.7424 GB, free: 10.94 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.2537, allocations: 91.38 kB / 0.7425 GB, free: 10.85 MB / 0.573 GB Notification: Performance of SimCode: time 1.342e-06/0.2538, allocations: 0 / 0.7425 GB, free: 10.85 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.2818, allocations: 5.298 MB / 0.7477 GB, free: 5.672 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/0.2821, allocations: 187.4 kB / 0.7478 GB, free: 5.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/2.91, allocations: 0 / 0.7478 GB, free: 5.43 MB / 0.573 GB