Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.348/2.348, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001301, allocations: 181.8 kB / 325.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.631/2.631, allocations: 205.4 MB / 0.5767 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009547/0.0009546, allocations: 97.91 kB / 0.6812 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004714, allocations: 14.47 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2113, allocations: 106.3 MB / 0.8991 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00187/0.2132, allocations: 1.185 MB / 0.9002 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008598/0.2141, allocations: 361.2 kB / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.2142, allocations: 0 / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.2143, allocations: 7.875 kB / 0.9006 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.824e-05/0.2144, allocations: 7.922 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.2147, allocations: 91.81 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.215, allocations: 215.6 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.2152, allocations: 51.16 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.2153, allocations: 87.73 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.2154, allocations: 87.67 kB / 0.9011 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.2155, allocations: 12 kB / 0.9011 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.18e-05/0.2156, allocations: 16 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.2156, allocations: 55.84 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.417e-05/0.2157, allocations: 49.64 kB / 0.9012 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.2159, allocations: 167.6 kB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2159, allocations: 3.938 kB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.284e-06/0.216, allocations: 4 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.216, allocations: 0 / 0.9014 GB, free: 63.05 MB / 0.6042 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.0009128/0.2169, allocations: 455.1 kB / 0.9018 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.217, allocations: 12.03 kB / 0.9018 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.2171, allocations: 16.84 kB / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.2176, allocations: 256 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.2176, allocations: 20.36 kB / 0.9021 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.2177, allocations: 32.36 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.2182, allocations: 202 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.2183, allocations: 3.938 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.2183, allocations: 19.95 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2183, allocations: 0 / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.2186, allocations: 107.8 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.2198, allocations: 0.5275 MB / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.2209, allocations: 294.5 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.2212, allocations: 112.8 kB / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.2213, allocations: 4 kB / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009539/0.2222, allocations: 478.2 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 3.085e-06/0.2223, allocations: 0 / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.001417/0.2237, allocations: 0.5164 MB / 0.9043 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.2238, allocations: 67.27 kB / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.2239, allocations: 156 kB / 0.9045 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-05/0.224, allocations: 53.69 kB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.2241, allocations: 112.9 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.796e-05/0.2242, allocations: 102.9 kB / 0.9048 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.2243, allocations: 12 kB / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.2244, allocations: 334.8 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.2247, allocations: 125.1 kB / 0.9052 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.2251, allocations: 227.5 kB / 0.9055 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.2254, allocations: 98.06 kB / 0.9055 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2254, allocations: 0 / 0.9055 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008328/0.2263, allocations: 386.7 kB / 0.9059 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.2263, allocations: 8 kB / 0.9059 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2263, allocations: 4 kB / 0.9059 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.2264, allocations: 7.938 kB / 0.9059 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.2265, allocations: 27.86 kB / 0.906 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.2265, allocations: 11.92 kB / 0.906 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.2268, allocations: 43.95 kB / 0.906 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.2269, allocations: 24 kB / 0.906 GB, free: 58.02 MB / 0.6042 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.y,$PRE.truCle.y,$PRE.iniFalOut.y,$PRE.iniTruOut.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$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,falCle.y,$PRE.truCle.u,truCle.u,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,iniTruOut.y,$PRE.swiCleInp.u,swiCleInp.u,$PRE.swiCleInp.clr,swiCleInp.clr,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,$PRE.swiCleInp1.clr,swiCleInp1.clr,swiCleInp1.y,$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 (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.0002557/0.2272, allocations: 163 kB / 0.9062 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.2272, allocations: 31.7 kB / 0.9062 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.2274, allocations: 34.25 kB / 0.9063 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.2274, allocations: 8 kB / 0.9063 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2274, allocations: 4 kB / 0.9063 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2274, allocations: 3.984 kB / 0.9063 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.2288, allocations: 0.7996 MB / 0.9071 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.2288, allocations: 3.938 kB / 0.9071 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.2289, allocations: 15.92 kB / 0.9071 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2289, allocations: 4 kB / 0.9071 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.229, allocations: 23.97 kB / 0.9071 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.229, allocations: 0 / 0.9071 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.229, allocations: 0 / 0.9071 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.23, allocations: 0.4987 MB / 0.9076 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.2301, allocations: 104.7 kB / 0.9077 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.2302, allocations: 19.98 kB / 0.9077 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.2305, allocations: 23.97 kB / 0.9077 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.2308, allocations: 75.84 kB / 0.9078 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/0.2308, allocations: 27.98 kB / 0.9078 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.869e-05/0.2309, allocations: 110.2 kB / 0.9079 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.231, allocations: 0 / 0.9079 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004991/0.2315, allocations: 75.98 kB / 0.908 GB, free: 55.91 MB / 0.6042 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 ($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.clr,swiCleInp.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,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 (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.0002321/0.2317, allocations: 133.8 kB / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009154/0.2326, allocations: 359.3 kB / 0.9085 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2327, allocations: 0 / 0.9085 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.2331, allocations: 215.8 kB / 0.9087 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.2337, allocations: 48.41 kB / 0.9087 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.2351, allocations: 0.5011 MB / 0.9092 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.2353, allocations: 0.7374 MB / 0.9099 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002179/0.2356, allocations: 34.95 kB / 0.91 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.2357, allocations: 39.42 kB / 0.91 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.723e-06/0.2358, allocations: 0 / 0.91 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.009262/0.245, allocations: 3.099 MB / 0.913 GB, free: 50.71 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)