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.433/1.433, allocations: 251.5 MB / 267.4 MB, free: 11.14 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.00104/0.00104, allocations: 180.7 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 1.877/1.877, allocations: 205 MB / 0.5767 GB, free: 21 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.0008484/0.0008484, allocations: 84.08 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003378, allocations: 11.41 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2011, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001499/0.2026, allocations: 1.224 MB / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000642/0.2033, allocations: 353.6 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.2034, allocations: 4 kB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.427e-05/0.2034, allocations: 7.875 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.2035, allocations: 15.91 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.2038, allocations: 95.81 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.204, allocations: 235.3 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.2042, allocations: 61.2 kB / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.2043, allocations: 91.73 kB / 0.8988 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.477e-05/0.2044, allocations: 87.67 kB / 0.8989 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.2044, allocations: 16 kB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.64e-05/0.2044, allocations: 12 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.2045, allocations: 51.8 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.944e-05/0.2046, allocations: 91.66 kB / 0.899 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.2048, allocations: 223.2 kB / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2048, allocations: 0 / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2048, allocations: 0 / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.2049, allocations: 0 / 0.8992 GB, free: 65.63 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.00082/0.2057, allocations: 446.9 kB / 0.8997 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.2057, allocations: 12.03 kB / 0.8997 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.2058, allocations: 20.75 kB / 0.8997 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.2062, allocations: 262.4 kB / 0.9 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.2062, allocations: 16.38 kB / 0.9 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.2063, allocations: 32.36 kB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.2066, allocations: 202.7 kB / 0.9002 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2066, allocations: 4.188 kB / 0.9002 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.2066, allocations: 27.83 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2067, allocations: 4 kB / 0.9002 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.2068, allocations: 95.88 kB / 0.9003 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007678/0.2076, allocations: 0.5275 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/0.2082, allocations: 294.5 kB / 0.9011 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.2084, allocations: 116.8 kB / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.2084, allocations: 4 kB / 0.9012 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005435/0.2089, allocations: 479.1 kB / 0.9017 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.753e-06/0.209, allocations: 0 / 0.9017 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0007398/0.2097, allocations: 0.5201 MB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.2097, allocations: 63.41 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/0.2098, allocations: 162.1 kB / 0.9024 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.2099, allocations: 53.69 kB / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.2099, allocations: 124.8 kB / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.21, allocations: 90.94 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.2101, allocations: 57.69 kB / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.2101, allocations: 346.8 kB / 0.9031 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.2103, allocations: 129.1 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.2105, allocations: 223.6 kB / 0.9034 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.2108, allocations: 255.5 kB / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2108, allocations: 0 / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004688/0.2112, allocations: 382.6 kB / 0.904 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2113, allocations: 12.3 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2113, allocations: 4 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2113, allocations: 8 kB / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.2114, allocations: 31.8 kB / 0.9041 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.2114, allocations: 7.938 kB / 0.9041 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.2116, allocations: 47.67 kB / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.2116, allocations: 20 kB / 0.9041 GB, free: 60.34 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.0001302/0.2117, allocations: 170.9 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.2118, allocations: 27.72 kB / 0.9043 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.2118, allocations: 38.3 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2118, allocations: 3.938 kB / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2119, allocations: 0 / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.2119, allocations: 92.92 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.212, allocations: 19.98 kB / 0.9045 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2121, allocations: 27.97 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.2122, allocations: 55.91 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005516/0.2128, allocations: 0.4899 MB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004882/0.2133, allocations: 0.58 MB / 0.9056 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000194/0.2135, allocations: 196.2 kB / 0.9058 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.2135, allocations: 111.2 kB / 0.9059 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of Backend: time 5.11e-07/0.2135, allocations: 0 / 0.9059 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00059/0.2141, allocations: 339.8 kB / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006319/0.2148, allocations: 0.8042 MB / 0.907 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.005451/0.2202, allocations: 3.351 MB / 0.9103 GB, free: 53.95 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)