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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.644/1.644, allocations: 251.9 MB / 0.51 GB, free: 4.852 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005325/0.0005326, allocations: 12 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6078, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001823/0.6097, allocations: 1.189 MB / 0.7291 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007154/0.6104, allocations: 348.1 kB / 0.7295 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.6105, allocations: 0 / 0.7295 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.6105, allocations: 7.875 kB / 0.7295 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.6107, allocations: 23.89 kB / 0.7295 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.6109, allocations: 79.88 kB / 0.7296 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.6111, allocations: 139.5 kB / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.6113, allocations: 45.2 kB / 0.7298 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.6114, allocations: 79.81 kB / 0.7298 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.6115, allocations: 91.67 kB / 0.7299 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.6116, allocations: 12 kB / 0.7299 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.839e-05/0.6116, allocations: 15.94 kB / 0.7299 GB, free: 9.418 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.6117, allocations: 55.84 kB / 0.73 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.6117, allocations: 57.62 kB / 0.7301 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.6119, allocations: 173.5 kB / 0.7302 GB, free: 9.133 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.6119, allocations: 0 / 0.7302 GB, free: 9.133 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6119, allocations: 0 / 0.7302 GB, free: 9.133 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.612, allocations: 0 / 0.7302 GB, free: 9.133 MB / 0.545 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.0007474/0.6127, allocations: 446.7 kB / 0.7306 GB, free: 8.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.6128, allocations: 12.03 kB / 0.7307 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.6128, allocations: 19.89 kB / 0.7307 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.6133, allocations: 258.6 kB / 0.7309 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.6133, allocations: 23.98 kB / 0.7309 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.6134, allocations: 20 kB / 0.731 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.6137, allocations: 205.5 kB / 0.7312 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.6137, allocations: 4 kB / 0.7312 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.6138, allocations: 15.97 kB / 0.7312 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.6138, allocations: 4 kB / 0.7312 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.614, allocations: 103.9 kB / 0.7313 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008407/0.6148, allocations: 0.5313 MB / 0.7318 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.6155, allocations: 297.8 kB / 0.7321 GB, free: 7.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.6155, allocations: 0 / 0.7321 GB, free: 7.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006411/0.6162, allocations: 482.2 kB / 0.7325 GB, free: 6.586 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.813e-06/0.6162, allocations: 0 / 0.7325 GB, free: 6.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0008667/0.617, allocations: 0.5161 MB / 0.7331 GB, free: 6.062 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.6171, allocations: 55.41 kB / 0.7331 GB, free: 5.996 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.6172, allocations: 161.7 kB / 0.7333 GB, free: 5.828 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.346e-05/0.6173, allocations: 57.69 kB / 0.7333 GB, free: 5.766 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.6174, allocations: 117.1 kB / 0.7334 GB, free: 5.648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.6175, allocations: 94.89 kB / 0.7335 GB, free: 5.555 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.6175, allocations: 8 kB / 0.7335 GB, free: 5.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.6177, allocations: 342.8 kB / 0.7339 GB, free: 5.203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.6179, allocations: 129.1 kB / 0.734 GB, free: 5.078 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.6182, allocations: 227.5 kB / 0.7342 GB, free: 4.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.6183, allocations: 94.19 kB / 0.7343 GB, free: 4.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.6183, allocations: 7.938 kB / 0.7343 GB, free: 4.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0005332/0.6189, allocations: 382.6 kB / 0.7347 GB, free: 4.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6189, allocations: 8.266 kB / 0.7347 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6189, allocations: 8 kB / 0.7347 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.6189, allocations: 4 kB / 0.7347 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.619, allocations: 35.86 kB / 0.7347 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.619, allocations: 4 kB / 0.7347 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.6192, allocations: 43.67 kB / 0.7348 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.6192, allocations: 19.94 kB / 0.7348 GB, free: 4.227 MB / 0.545 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.0001688/0.6194, allocations: 163 kB / 0.7349 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.6195, allocations: 27.72 kB / 0.735 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.881e-05/0.6196, allocations: 46.25 kB / 0.735 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.6196, allocations: 4 kB / 0.735 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6196, allocations: 3.938 kB / 0.735 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.6196, allocations: 0 / 0.735 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009456/0.6205, allocations: 0.8075 MB / 0.7358 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6205, allocations: 0 / 0.7358 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.6206, allocations: 11.89 kB / 0.7358 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.6206, allocations: 4 kB / 0.7358 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.6206, allocations: 19.97 kB / 0.7358 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6206, allocations: 3.984 kB / 0.7358 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6207, allocations: 8 kB / 0.7358 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.6213, allocations: 0.4989 MB / 0.7363 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.6214, allocations: 96.83 kB / 0.7364 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.6214, allocations: 27.92 kB / 0.7364 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.6216, allocations: 23.98 kB / 0.7365 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.6217, allocations: 71.84 kB / 0.7365 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.6218, allocations: 27.97 kB / 0.7366 GB, free: 2.289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.432e-05/0.6219, allocations: 114.2 kB / 0.7367 GB, free: 2.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.6219, allocations: 0 / 0.7367 GB, free: 2.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003231/0.6222, allocations: 79.98 kB / 0.7367 GB, free: 2.102 MB / 0.545 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.0001865/0.6224, allocations: 133.8 kB / 0.7369 GB, free: 1.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005446/0.6229, allocations: 359.1 kB / 0.7372 GB, free: 1.613 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6229, allocations: 0 / 0.7372 GB, free: 1.613 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.6232, allocations: 219.9 kB / 0.7374 GB, free: 1.398 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.6235, allocations: 39 kB / 0.7375 GB, free: 1.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008838/0.6244, allocations: 0.4975 MB / 0.738 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.6247, allocations: 0.7374 MB / 0.7387 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.892e-05/0.6248, allocations: 38.97 kB / 0.7387 GB, free: 40 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.6249, allocations: 39.41 kB / 0.7387 GB, free: 0 / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.6249, allocations: 0 / 0.7387 GB, free: 0 / 0.545 GB Notification: Performance of Templates: time 0.006216/0.6311, allocations: 3.08 MB / 0.7418 GB, free: 12.92 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: