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.001063/0.001063, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0013/0.0013, allocations: 172.7 kB / 15.95 MB, free: 208 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.606/1.606, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.646/1.646, allocations: 252 MB / 0.5102 GB, free: 4.746 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.0006501/0.0006503, allocations: 24 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.5952, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00175/0.597, allocations: 1.194 MB / 0.7293 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006615/0.5977, allocations: 344 kB / 0.7296 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.5977, allocations: 4 kB / 0.7296 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.5978, allocations: 7.922 kB / 0.7296 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.698e-05/0.5978, allocations: 11.92 kB / 0.7297 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.5981, allocations: 91.8 kB / 0.7297 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.5983, allocations: 219.3 kB / 0.7299 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.5984, allocations: 37.23 kB / 0.73 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.5985, allocations: 91.78 kB / 0.7301 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.5987, allocations: 87.69 kB / 0.7302 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.5987, allocations: 12 kB / 0.7302 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.908e-05/0.5987, allocations: 12 kB / 0.7302 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.5988, allocations: 55.84 kB / 0.7302 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.5989, allocations: 49.64 kB / 0.7303 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.5991, allocations: 173.5 kB / 0.7304 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5991, allocations: 0 / 0.7304 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5991, allocations: 0 / 0.7304 GB, free: 9.023 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.5991, allocations: 0 / 0.7304 GB, free: 9.023 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.0007281/0.5998, allocations: 454.7 kB / 0.7309 GB, free: 8.531 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5999, allocations: 11.97 kB / 0.7309 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.5999, allocations: 19.91 kB / 0.7309 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.6004, allocations: 262.7 kB / 0.7312 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.6004, allocations: 16 kB / 0.7312 GB, free: 8.188 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.6005, allocations: 27.98 kB / 0.7312 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.6008, allocations: 209.4 kB / 0.7314 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6009, allocations: 4 kB / 0.7314 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.6009, allocations: 15.97 kB / 0.7314 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.6009, allocations: 4 kB / 0.7314 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.6011, allocations: 99.88 kB / 0.7315 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009207/0.6021, allocations: 0.5314 MB / 0.732 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/0.6027, allocations: 293.4 kB / 0.7323 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.6029, allocations: 108.8 kB / 0.7324 GB, free: 6.844 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.603, allocations: 7.953 kB / 0.7324 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007534/0.6037, allocations: 490.2 kB / 0.7329 GB, free: 6.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.6037, allocations: 0 / 0.7329 GB, free: 6.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0009004/0.6046, allocations: 0.52 MB / 0.7334 GB, free: 5.816 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.6047, allocations: 59.41 kB / 0.7335 GB, free: 5.746 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.6048, allocations: 153.5 kB / 0.7336 GB, free: 5.586 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.6049, allocations: 53.69 kB / 0.7337 GB, free: 5.527 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.605, allocations: 124.9 kB / 0.7338 GB, free: 5.402 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.6051, allocations: 98.88 kB / 0.7339 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.6051, allocations: 12 kB / 0.7339 GB, free: 5.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6052, allocations: 334.8 kB / 0.7342 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.6054, allocations: 129.1 kB / 0.7343 GB, free: 4.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.6057, allocations: 223.6 kB / 0.7345 GB, free: 4.582 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.6059, allocations: 94.12 kB / 0.7346 GB, free: 4.496 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6059, allocations: 4 kB / 0.7346 GB, free: 4.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0005382/0.6064, allocations: 394.5 kB / 0.735 GB, free: 4.098 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.6065, allocations: 5.719 kB / 0.735 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6065, allocations: 4 kB / 0.735 GB, free: 4.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6065, allocations: 4 kB / 0.735 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.6066, allocations: 31.86 kB / 0.7351 GB, free: 4.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.6066, allocations: 8.312 kB / 0.7351 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.6068, allocations: 43.67 kB / 0.7351 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.6068, allocations: 16 kB / 0.7351 GB, free: 3.988 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.0001659/0.607, allocations: 172 kB / 0.7353 GB, free: 3.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.607, allocations: 31.67 kB / 0.7353 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.6071, allocations: 38.3 kB / 0.7353 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6071, allocations: 4 kB / 0.7354 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6071, allocations: 0 / 0.7354 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6071, allocations: 0 / 0.7354 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.6082, allocations: 0.8075 MB / 0.7361 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6082, allocations: 7.938 kB / 0.7361 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.6082, allocations: 15.94 kB / 0.7362 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.6082, allocations: 0 / 0.7362 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.6083, allocations: 19.97 kB / 0.7362 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.6083, allocations: 4 kB / 0.7362 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/0.6083, allocations: 3.984 kB / 0.7362 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.6089, allocations: 0.4988 MB / 0.7367 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.609, allocations: 100.8 kB / 0.7368 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.6091, allocations: 27.97 kB / 0.7368 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.6092, allocations: 23.98 kB / 0.7368 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.6093, allocations: 71.86 kB / 0.7369 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.6094, allocations: 31.91 kB / 0.7369 GB, free: 2.039 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.725e-05/0.6095, allocations: 110.1 kB / 0.737 GB, free: 1.934 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6095, allocations: 3.938 kB / 0.737 GB, free: 1.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003281/0.6098, allocations: 71.98 kB / 0.7371 GB, free: 1.859 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.0001873/0.61, allocations: 141.8 kB / 0.7372 GB, free: 1.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005788/0.6106, allocations: 350.8 kB / 0.7376 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.6106, allocations: 0.625 kB / 0.7376 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.6109, allocations: 215.9 kB / 0.7378 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.6113, allocations: 43.95 kB / 0.7378 GB, free: 1.117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009659/0.6123, allocations: 0.4894 MB / 0.7383 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.6126, allocations: 0.7412 MB / 0.739 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.6128, allocations: 34.95 kB / 0.7391 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.6129, allocations: 39.42 kB / 0.7391 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.6129, allocations: 4 kB / 0.7391 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.006546/0.6194, allocations: 3.093 MB / 0.7421 GB, free: 12.67 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: