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.006846/0.006851, allocations: 235.1 kB / 15.81 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.001797/0.001797, allocations: 178.6 kB / 16.68 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 3.885/3.885, allocations: 389.1 MB / 406.5 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.555/4.555, allocations: 472.3 MB / 0.9023 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007604/0.0007607, allocations: 16 kB / 1.008 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2799, allocations: 98.71 MB / 1.105 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002186/0.2822, allocations: 1.193 MB / 1.106 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2834, allocations: 404 kB / 1.106 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.502e-05/0.2835, allocations: 0 / 1.106 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.983e-05/0.2835, allocations: 11.86 kB / 1.106 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.2837, allocations: 11.92 kB / 1.106 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.2841, allocations: 111.8 kB / 1.106 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.2845, allocations: 291.5 kB / 1.107 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.2847, allocations: 49.66 kB / 1.107 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.2849, allocations: 123.7 kB / 1.107 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.2852, allocations: 119.6 kB / 1.107 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.185e-05/0.2852, allocations: 16 kB / 1.107 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.489e-05/0.2853, allocations: 20 kB / 1.107 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2854, allocations: 79.81 kB / 1.107 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.656e-05/0.2856, allocations: 61.62 kB / 1.107 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.2859, allocations: 227.5 kB / 1.107 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.286, allocations: 0 / 1.107 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.785e-06/0.286, allocations: 0 / 1.107 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.286, allocations: 0 / 1.107 GB, free: 1.18 MB / 0.7448 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.001183/0.2872, allocations: 0.4919 MB / 1.108 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.2872, allocations: 8.031 kB / 1.108 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.2874, allocations: 39.75 kB / 1.108 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.2881, allocations: 274.7 kB / 1.108 GB, free: 292 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/0.2885, allocations: 364.5 kB / 1.108 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/0.2886, allocations: 39.88 kB / 1.108 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007441/0.2894, allocations: 257.4 kB / 1.109 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2894, allocations: 0 / 1.109 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.2895, allocations: 15.98 kB / 1.109 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.2895, allocations: 4 kB / 1.109 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005979/0.2901, allocations: 171.8 kB / 1.109 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.2917, allocations: 0.5783 MB / 1.109 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.2931, allocations: 343 kB / 1.11 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.2936, allocations: 133.2 kB / 1.11 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.2936, allocations: 4.188 kB / 1.11 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/0.2948, allocations: 0.4927 MB / 1.11 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=48): time 3.536e-06/0.2949, allocations: 4 kB / 1.11 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.00179/0.2967, allocations: 0.5611 MB / 1.111 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.2968, allocations: 55.84 kB / 1.111 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.297, allocations: 158.9 kB / 1.111 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.2971, allocations: 57.7 kB / 1.111 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2972, allocations: 121.2 kB / 1.111 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.2974, allocations: 110.7 kB / 1.111 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.2975, allocations: 16 kB / 1.111 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2976, allocations: 346.8 kB / 1.112 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.2982, allocations: 157.2 kB / 1.112 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/0.2988, allocations: 268.3 kB / 1.112 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.2992, allocations: 110.2 kB / 1.112 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.2993, allocations: 0 / 1.112 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001317/0.3006, allocations: 462.5 kB / 1.113 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.3006, allocations: 11.59 kB / 1.113 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.3007, allocations: 4 kB / 1.113 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.3007, allocations: 7.953 kB / 1.113 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.301, allocations: 43.86 kB / 1.113 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/0.301, allocations: 4 kB / 1.113 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.3013, allocations: 55.94 kB / 1.113 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.3014, allocations: 24 kB / 1.113 GB, free: 11.13 MB / 0.7605 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.0002999/0.3017, allocations: 182.8 kB / 1.113 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3018, allocations: 27.72 kB / 1.113 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.302, allocations: 34.62 kB / 1.113 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.302, allocations: 3.984 kB / 1.113 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.302, allocations: 7.953 kB / 1.113 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.3021, allocations: 96.83 kB / 1.113 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.3022, allocations: 23.98 kB / 1.113 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.3025, allocations: 27.97 kB / 1.113 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.3028, allocations: 84.27 kB / 1.113 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00138/0.3042, allocations: 0.5036 MB / 1.114 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001244/0.3055, allocations: 0.5967 MB / 1.114 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005209/0.306, allocations: 211.4 kB / 1.115 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001074/0.3061, allocations: 106.3 kB / 1.115 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of Backend: time 1.102e-06/0.3061, allocations: 0 / 1.115 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.3074, allocations: 377.5 kB / 1.115 GB, free: 8.816 MB / 0.7605 GB Notification: Performance of SimCode: time 0.001191/0.3087, allocations: 0.8307 MB / 1.116 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of Templates: time 0.01283/0.3215, allocations: 3.928 MB / 1.12 GB, free: 4.031 MB / 0.7605 GB