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.009129/0.009129, allocations: 108.7 kB / 15.06 MB, free: 5.559 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.001162/0.001162, allocations: 178.5 kB / 15.94 MB, free: 5.523 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 2.004/2.004, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.306/2.306, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004912, allocations: 12 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5492, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001493/0.5507, allocations: 1.187 MB / 0.6845 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008143/0.5516, allocations: 411.5 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.5516, allocations: 1.25 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.5517, allocations: 10.97 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.468e-05/0.5518, allocations: 16.72 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.5521, allocations: 118.1 kB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.5524, allocations: 194.2 kB / 0.6852 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.5525, allocations: 41.17 kB / 0.6853 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.5527, allocations: 132.5 kB / 0.6854 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.5529, allocations: 114.5 kB / 0.6855 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.405e-05/0.553, allocations: 17.22 kB / 0.6855 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.684e-05/0.553, allocations: 20.78 kB / 0.6855 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.5532, allocations: 84.42 kB / 0.6856 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.511e-05/0.5533, allocations: 64.8 kB / 0.6857 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.5536, allocations: 236.9 kB / 0.6859 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.5536, allocations: 4 kB / 0.6859 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.073e-06/0.5536, allocations: 0 / 0.6859 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.616e-06/0.5536, allocations: 1.094 kB / 0.6859 GB, free: 15.28 MB / 0.5261 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.0008413/0.5545, allocations: 495 kB / 0.6864 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5545, allocations: 10.12 kB / 0.6864 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.5547, allocations: 39.55 kB / 0.6864 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.5552, allocations: 280.5 kB / 0.6867 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/0.5555, allocations: 362.9 kB / 0.6871 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.5556, allocations: 32.58 kB / 0.6871 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.5562, allocations: 272.2 kB / 0.6873 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5563, allocations: 0.6562 kB / 0.6873 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.5563, allocations: 10.39 kB / 0.6874 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.52e-06/0.5563, allocations: 7.5 kB / 0.6874 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.5569, allocations: 173.6 kB / 0.6875 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.5582, allocations: 0.5948 MB / 0.6881 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.5593, allocations: 347.9 kB / 0.6884 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.5593, allocations: 6.828 kB / 0.6884 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/0.5605, allocations: 0.5573 MB / 0.689 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.908e-06/0.5605, allocations: 0 / 0.689 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.001452/0.562, allocations: 0.5635 MB / 0.6895 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.562, allocations: 63.23 kB / 0.6896 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.5622, allocations: 159.1 kB / 0.6898 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.907e-05/0.5623, allocations: 63.5 kB / 0.6898 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.5624, allocations: 112.4 kB / 0.6899 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5625, allocations: 121.1 kB / 0.69 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.5626, allocations: 11.03 kB / 0.69 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.5626, allocations: 338.4 kB / 0.6904 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.5631, allocations: 173.8 kB / 0.6905 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.5636, allocations: 312 kB / 0.6908 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.564, allocations: 118.1 kB / 0.6909 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.009e-06/0.564, allocations: 5.219 kB / 0.6909 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001105/0.5651, allocations: 492.7 kB / 0.6914 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.5651, allocations: 8.906 kB / 0.6914 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.5652, allocations: 4.797 kB / 0.6914 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.5652, allocations: 11.47 kB / 0.6914 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.5654, allocations: 47.11 kB / 0.6915 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.5654, allocations: 11.67 kB / 0.6915 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.5657, allocations: 48.88 kB / 0.6915 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.5658, allocations: 21.22 kB / 0.6916 GB, free: 11.77 MB / 0.5261 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.0002516/0.5661, allocations: 188.8 kB / 0.6917 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.774e-05/0.5662, allocations: 33.06 kB / 0.6918 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.41e-05/0.5663, allocations: 46.97 kB / 0.6918 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.5663, allocations: 4.656 kB / 0.6918 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.639e-06/0.5663, allocations: 0 / 0.6918 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.169e-06/0.5663, allocations: 3.812 kB / 0.6918 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.5682, allocations: 0.9478 MB / 0.6928 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.453e-06/0.5682, allocations: 0 / 0.6928 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.5683, allocations: 12.81 kB / 0.6928 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.5683, allocations: 2.125 kB / 0.6928 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/0.5684, allocations: 31.25 kB / 0.6928 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.985e-06/0.5684, allocations: 6.609 kB / 0.6928 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.985e-06/0.5684, allocations: 0 / 0.6928 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.5695, allocations: 0.5242 MB / 0.6933 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.5695, allocations: 103.9 kB / 0.6934 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.5697, allocations: 35.3 kB / 0.6935 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.5699, allocations: 21.81 kB / 0.6935 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.5702, allocations: 110.7 kB / 0.6936 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/0.5703, allocations: 35.33 kB / 0.6936 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.881e-05/0.5704, allocations: 107.4 kB / 0.6937 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.8e-07/0.5704, allocations: 0 / 0.6937 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005824/0.571, allocations: 88.45 kB / 0.6938 GB, free: 10.44 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 (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,falCle.scenario,truCle.u,truCle.y,truCle.scenario,iniFalOut.u,iniFalOut.y,iniFalOut.scenario,iniTruOut.u,iniTruOut.y,iniTruOut.scenario,swiCleInp.u,swiCleInp.y,swiCleInp.scenario,swiCleInp1.u,swiCleInp1.y,swiCleInp1.scenario,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 (48): * Single equations (assignments): 40 * 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.0002055/0.5712, allocations: 148 kB / 0.6939 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.5723, allocations: 444.6 kB / 0.6944 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.014e-06/0.5723, allocations: 0 / 0.6944 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.5728, allocations: 234.7 kB / 0.6946 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.5732, allocations: 26.69 kB / 0.6946 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.5745, allocations: 0.5391 MB / 0.6951 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.5747, allocations: 0.7488 MB / 0.6959 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002486/0.575, allocations: 48.55 kB / 0.6959 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.5753, allocations: 59.98 kB / 0.696 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of SimCode: time 1.452e-06/0.5753, allocations: 0 / 0.696 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of Templates: time 0.01086/0.5862, allocations: 4.41 MB / 0.7003 GB, free: 7.094 MB / 0.5261 GB