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.Latch.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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01114/0.01114, allocations: 221.8 kB / 15.17 MB, free: 5.926 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.001148/0.001148, allocations: 179.7 kB / 16.06 MB, free: 5.828 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 3.692/3.692, allocations: 389.1 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.372/4.372, allocations: 472.3 MB / 0.9018 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004838, allocations: 16 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5878/0.5883, allocations: 98.71 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001552/0.5899, allocations: 1.197 MB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000722/0.5907, allocations: 393.2 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.5908, allocations: 2.312 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.5908, allocations: 10.92 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.813e-05/0.5909, allocations: 20.73 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.5912, allocations: 112.9 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.5915, allocations: 294.7 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.5917, allocations: 41.33 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.5918, allocations: 125.8 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.592, allocations: 110.8 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.5921, allocations: 21.2 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.208e-05/0.5921, allocations: 15 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.5922, allocations: 81.72 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.347e-05/0.5923, allocations: 56.45 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.5926, allocations: 227.7 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.77e-06/0.5926, allocations: 2.75 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.062e-06/0.5926, allocations: 0 / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.5926, allocations: 1.375 kB / 1.107 GB, free: 211.3 MB / 0.7292 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.0007932/0.5934, allocations: 0.4921 MB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5934, allocations: 9.438 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.5936, allocations: 37.59 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.594, allocations: 275.1 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.5943, allocations: 369.4 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.5944, allocations: 32.73 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.5949, allocations: 255.8 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.595, allocations: 4.656 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.595, allocations: 10.62 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.595, allocations: 3.812 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.5955, allocations: 167.4 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.5967, allocations: 0.5888 MB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.5977, allocations: 346.7 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.5981, allocations: 132.5 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.5981, allocations: 2.969 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009246/0.5991, allocations: 0.5014 MB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 4.187e-06/0.5991, allocations: 0 / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.00141/0.6005, allocations: 0.5538 MB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.6006, allocations: 61.53 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.6007, allocations: 153.3 kB / 1.111 GB, free: 209 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.869e-05/0.6008, allocations: 63.09 kB / 1.111 GB, free: 209 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.6009, allocations: 115.8 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.601, allocations: 117.9 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.6011, allocations: 14.56 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.6012, allocations: 340.8 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.6016, allocations: 159.5 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.6021, allocations: 260.8 kB / 1.112 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.6024, allocations: 119.9 kB / 1.112 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.85e-06/0.6025, allocations: 1.188 kB / 1.112 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001085/0.6035, allocations: 461 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.6036, allocations: 13.03 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6036, allocations: 8.672 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.6037, allocations: 5.344 kB / 1.112 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.6039, allocations: 46.03 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.6039, allocations: 5.812 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.6042, allocations: 52.59 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.6042, allocations: 20.09 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 80 ($PRE.falCle.scenario,$PRE.truCle.scenario,$PRE.iniFalOut.scenario,$PRE.iniTruOut.scenario,$PRE.swiCleInp.scenario,$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,$PRE.swiCleInp.clr,swiCleInp.clr,$PRE.swiCleInp.y,swiCleInp.y,swiCleInp.scenario,$PRE.swiCleInp1.u,swiCleInp1.u,$PRE.swiCleInp1.clr,swiCleInp1.clr,$PRE.swiCleInp1.y,swiCleInp1.y,swiCleInp1.scenario,$PRE.cleInp.pulseStart,cleInp.pulseStart,$PRE.latInp.pulseStart,latInp.pulseStart,$PRE.iniTruOut.clr,iniTruOut.clr,$PRE.iniFalOut.clr,iniFalOut.clr,$PRE.falCle.clr,falCle.clr,$PRE.truCle.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.0002466/0.6045, allocations: 178.3 kB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.942e-05/0.6046, allocations: 36.38 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.951e-05/0.6047, allocations: 44.05 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.408e-06/0.6047, allocations: 4.531 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.6047, allocations: 0 / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6048, allocations: 1.094 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.6062, allocations: 0.8533 MB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.498e-06/0.6062, allocations: 0 / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.6063, allocations: 18.16 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.3e-06/0.6063, allocations: 2.312 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.6064, allocations: 24.66 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.6064, allocations: 4.469 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.415e-06/0.6064, allocations: 1.094 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009639/0.6074, allocations: 0.5233 MB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.6074, allocations: 100.5 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.6076, allocations: 24.31 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.6078, allocations: 26.2 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.6081, allocations: 83.05 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.665e-05/0.6081, allocations: 29.7 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.978e-05/0.6082, allocations: 110 kB / 1.114 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.35e-07/0.6083, allocations: 0 / 1.114 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005391/0.6088, allocations: 91.48 kB / 1.114 GB, free: 206.7 MB / 0.7292 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 ($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.clr,swiCleInp.y,swiCleInp.scenario,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,swiCleInp1.scenario,cleInp.pulseStart,latInp.pulseStart) * Number of discrete states: 14 (iniFalOut.u,iniTruOut.u,falCle.u,truCle.u,swiCleInp.u,swiCleInp.clr,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,swiCleInp.y,iniTruOut.y,iniFalOut.y,truCle.y,falCle.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.000203/0.609, allocations: 150.5 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000996/0.61, allocations: 407.1 kB / 1.115 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.713e-06/0.6101, allocations: 0 / 1.115 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004958/0.6106, allocations: 235.3 kB / 1.115 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.6111, allocations: 39.61 kB / 1.115 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.6125, allocations: 0.5395 MB / 1.116 GB, free: 206 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.6127, allocations: 0.7514 MB / 1.116 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002385/0.613, allocations: 42.06 kB / 1.116 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.6132, allocations: 48.97 kB / 1.116 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of SimCode: time 1.6e-06/0.6132, allocations: 0.9062 kB / 1.116 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.01635/0.6296, allocations: 3.8 MB / 1.12 GB, free: 205.3 MB / 0.7292 GB