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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01126/0.01126, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.001235/0.001235, allocations: 181.4 kB / 15.95 MB, free: 5.52 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 1.943/1.943, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.509/2.509, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006875/0.0006877, allocations: 16 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7065, allocations: 98.72 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001859/0.7085, allocations: 1.183 MB / 0.6846 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.7096, allocations: 407.6 kB / 0.685 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.7097, allocations: 1 kB / 0.685 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.7097, allocations: 16.39 kB / 0.685 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.7098, allocations: 11.7 kB / 0.685 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.7103, allocations: 126.6 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.7106, allocations: 185.4 kB / 0.6853 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.7108, allocations: 42 kB / 0.6854 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.711, allocations: 136.8 kB / 0.6855 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.7113, allocations: 113.8 kB / 0.6856 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.573e-05/0.7114, allocations: 16.5 kB / 0.6856 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.998e-05/0.7114, allocations: 17.44 kB / 0.6856 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.7116, allocations: 88.89 kB / 0.6857 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.7117, allocations: 63.75 kB / 0.6858 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.7121, allocations: 236.3 kB / 0.686 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7121, allocations: 1.438 kB / 0.686 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7121, allocations: 0.6094 kB / 0.686 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.7121, allocations: 0 / 0.686 GB, free: 15.25 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.001152/0.7133, allocations: 499.8 kB / 0.6865 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.7134, allocations: 9.828 kB / 0.6865 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.7135, allocations: 57.55 kB / 0.6865 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.7136, allocations: 39.08 kB / 0.6866 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006388/0.7143, allocations: 277.3 kB / 0.6868 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/0.7146, allocations: 367.2 kB / 0.6872 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-05/0.7147, allocations: 28.95 kB / 0.6872 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008021/0.7155, allocations: 276.4 kB / 0.6875 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.7155, allocations: 0 / 0.6875 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.7156, allocations: 10.39 kB / 0.6875 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.7156, allocations: 3.281 kB / 0.6875 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/0.7162, allocations: 177.4 kB / 0.6877 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.7178, allocations: 0.5928 MB / 0.6882 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.7193, allocations: 359.2 kB / 0.6886 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.7193, allocations: 2.969 kB / 0.6886 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.7208, allocations: 0.566 MB / 0.6891 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.326e-06/0.7208, allocations: 0 / 0.6891 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.001804/0.7226, allocations: 0.5601 MB / 0.6897 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.7227, allocations: 59.02 kB / 0.6897 GB, free: 13 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.7229, allocations: 163.8 kB / 0.6899 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.7231, allocations: 64.38 kB / 0.69 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.7231, allocations: 111.1 kB / 0.6901 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.7233, allocations: 117.2 kB / 0.6902 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.7234, allocations: 14.53 kB / 0.6902 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.7235, allocations: 339.8 kB / 0.6905 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.724, allocations: 172.2 kB / 0.6907 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.7247, allocations: 312.2 kB / 0.691 GB, free: 12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.7251, allocations: 114.3 kB / 0.6911 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.922e-06/0.7251, allocations: 1.281 kB / 0.6911 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001361/0.7265, allocations: 497.1 kB / 0.6916 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.7266, allocations: 6.406 kB / 0.6916 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.7266, allocations: 4.656 kB / 0.6916 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.7266, allocations: 8.047 kB / 0.6916 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.7269, allocations: 55.41 kB / 0.6916 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.7269, allocations: 11.2 kB / 0.6916 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.7273, allocations: 44.59 kB / 0.6917 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/0.7274, allocations: 26.89 kB / 0.6917 GB, free: 11.67 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.0003207/0.7277, allocations: 187.8 kB / 0.6919 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.7278, allocations: 33.78 kB / 0.6919 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.7279, allocations: 46.94 kB / 0.692 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.7279, allocations: 4.5 kB / 0.692 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.728, allocations: 0 / 0.692 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.728, allocations: 3 kB / 0.692 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.7303, allocations: 0.9479 MB / 0.6929 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.7303, allocations: 1.438 kB / 0.6929 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.934e-05/0.7304, allocations: 15.52 kB / 0.6929 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.7304, allocations: 2.469 kB / 0.6929 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.459e-05/0.7305, allocations: 27.2 kB / 0.6929 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.7305, allocations: 2.406 kB / 0.693 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7305, allocations: 4.75 kB / 0.693 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.7318, allocations: 0.5276 MB / 0.6935 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.7319, allocations: 104.3 kB / 0.6936 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.732, allocations: 30.88 kB / 0.6936 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.7323, allocations: 21.36 kB / 0.6936 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004436/0.7328, allocations: 103.6 kB / 0.6937 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-05/0.7329, allocations: 42.64 kB / 0.6938 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.72e-05/0.733, allocations: 109.3 kB / 0.6939 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.733, allocations: 0 / 0.6939 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000663/0.7337, allocations: 88.58 kB / 0.6939 GB, free: 10.34 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.001588/0.7353, allocations: 1.116 MB / 0.695 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.7369, allocations: 440 kB / 0.6955 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.7369, allocations: 0 / 0.6955 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000703/0.7376, allocations: 239.8 kB / 0.6957 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.7381, allocations: 30.11 kB / 0.6957 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/0.7431, allocations: 4.068 MB / 0.6997 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.7434, allocations: 0.7489 MB / 0.7004 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000339/0.7438, allocations: 48.05 kB / 0.7005 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.7442, allocations: 96.36 kB / 0.7006 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/0.7442, allocations: 3.938 kB / 0.7006 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.7775, allocations: 6.287 MB / 0.7067 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.7778, allocations: 188.5 kB / 0.7069 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/3.398, allocations: 0 / 0.7069 GB, free: 1.867 MB / 0.5261 GB