Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 251.5 MB / 267.4 MB, free: 11.1 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001284/0.001285, allocations: 174.4 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007784/0.0007783, allocations: 82.25 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003031, allocations: 11.19 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1837, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00132/0.1851, allocations: 1.22 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005344/0.1856, allocations: 357.6 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.1857, allocations: 0 / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.1858, allocations: 11.86 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.676e-05/0.1858, allocations: 11.92 kB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.1861, allocations: 103.8 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1862, allocations: 231.3 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1864, allocations: 57.22 kB / 0.8987 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.1865, allocations: 91.73 kB / 0.8988 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.1866, allocations: 91.67 kB / 0.8989 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.1866, allocations: 19.94 kB / 0.8989 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.39e-05/0.1866, allocations: 8 kB / 0.8989 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.1867, allocations: 55.8 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.852e-05/0.1868, allocations: 87.66 kB / 0.899 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.1869, allocations: 163.6 kB / 0.8992 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1869, allocations: 0 / 0.8992 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.1869, allocations: 0 / 0.8992 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1869, allocations: 4 kB / 0.8992 GB, free: 65.7 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.0005682/0.1875, allocations: 451 kB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1875, allocations: 8.031 kB / 0.8996 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.1876, allocations: 28.73 kB / 0.8996 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.1879, allocations: 252.5 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.1879, allocations: 24.38 kB / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.188, allocations: 24.36 kB / 0.8999 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.1883, allocations: 214.6 kB / 0.9001 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1883, allocations: 4.188 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.1883, allocations: 23.84 kB / 0.9002 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1883, allocations: 0 / 0.9002 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1885, allocations: 103.9 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.1892, allocations: 0.5275 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005663/0.1898, allocations: 290.5 kB / 0.9011 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.1899, allocations: 116.8 kB / 0.9012 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.1899, allocations: 8 kB / 0.9012 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005153/0.1905, allocations: 475 kB / 0.9016 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.473e-06/0.1905, allocations: 0 / 0.9016 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0007293/0.1912, allocations: 0.524 MB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.1912, allocations: 55.41 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.1913, allocations: 165.5 kB / 0.9024 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.1914, allocations: 53.69 kB / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.1914, allocations: 116.9 kB / 0.9025 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.1915, allocations: 94.94 kB / 0.9026 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.1916, allocations: 61.67 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.1916, allocations: 338.8 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.1918, allocations: 125.1 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.192, allocations: 227.5 kB / 0.9033 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.1923, allocations: 255.5 kB / 0.9036 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1923, allocations: 4 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004271/0.1927, allocations: 390.6 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1927, allocations: 4.312 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1927, allocations: 8 kB / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1928, allocations: 7.938 kB / 0.904 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.1928, allocations: 27.86 kB / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1928, allocations: 11.94 kB / 0.904 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.193, allocations: 43.67 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.193, allocations: 19.94 kB / 0.9041 GB, free: 60.41 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,truCle.clr,$PRE.truCle.clr,falCle.clr,$PRE.falCle.clr,iniFalOut.clr,$PRE.iniFalOut.clr,iniTruOut.clr,$PRE.iniTruOut.clr,latInp.pulseStart,$PRE.latInp.pulseStart,cleInp.pulseStart,$PRE.cleInp.pulseStart,swiCleInp1.y,swiCleInp1.clr,$PRE.swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,swiCleInp.clr,$PRE.swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,iniTruOut.y,iniTruOut.u,$PRE.iniTruOut.u,iniFalOut.y,iniFalOut.u,$PRE.iniFalOut.u,truCle.y,truCle.u,$PRE.truCle.u,falCle.y,falCle.u,$PRE.falCle.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.1931, allocations: 167 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.1932, allocations: 31.72 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.019e-05/0.1933, allocations: 42.28 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1933, allocations: 7.938 kB / 0.9043 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1933, allocations: 0 / 0.9043 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1933, allocations: 0 / 0.9043 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007324/0.194, allocations: 0.8037 MB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.194, allocations: 0 / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.1941, allocations: 15.88 kB / 0.9051 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1941, allocations: 0 / 0.9051 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.1941, allocations: 19.97 kB / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1941, allocations: 0 / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1941, allocations: 0 / 0.9051 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.1946, allocations: 0.5105 MB / 0.9056 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.1947, allocations: 100.7 kB / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.1947, allocations: 27.97 kB / 0.9057 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.1949, allocations: 23.98 kB / 0.9058 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.195, allocations: 59.91 kB / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.195, allocations: 23.98 kB / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.496e-05/0.1951, allocations: 115.2 kB / 0.906 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1951, allocations: 0 / 0.906 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002863/0.1954, allocations: 79.89 kB / 0.906 GB, free: 58.29 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001641/0.1955, allocations: 135.6 kB / 0.9062 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.196, allocations: 363.1 kB / 0.9065 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.196, allocations: 0 / 0.9065 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.1962, allocations: 219.9 kB / 0.9067 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.1966, allocations: 39.91 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008007/0.1974, allocations: 0.5432 MB / 0.9073 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.1975, allocations: 0.7296 MB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1976, allocations: 43.36 kB / 0.908 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1976, allocations: 0 / 0.908 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.00372/0.2014, allocations: 3.246 MB / 0.9112 GB, free: 52.93 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)