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.0007568/0.0007568, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004968/0.004968, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.707/1.707, allocations: 252 MB / 0.5105 GB, free: 4.621 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.0005381/0.0005381, allocations: 12 kB / 0.6249 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6629, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001758/0.6647, allocations: 1.213 MB / 0.7299 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006663/0.6654, allocations: 352 kB / 0.7302 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.475e-05/0.6655, allocations: 7.938 kB / 0.7303 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.6655, allocations: 7.922 kB / 0.7303 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.6656, allocations: 11.88 kB / 0.7303 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.6659, allocations: 95.88 kB / 0.7304 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.6661, allocations: 235.3 kB / 0.7306 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.6663, allocations: 60.94 kB / 0.7306 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.6665, allocations: 87.78 kB / 0.7307 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.6666, allocations: 87.69 kB / 0.7308 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.6667, allocations: 8 kB / 0.7308 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.676e-05/0.6667, allocations: 15.94 kB / 0.7308 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.6668, allocations: 55.84 kB / 0.7309 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.6669, allocations: 113.3 kB / 0.731 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.6671, allocations: 225.2 kB / 0.7312 GB, free: 8.695 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6671, allocations: 0 / 0.7312 GB, free: 8.695 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6671, allocations: 0 / 0.7312 GB, free: 8.695 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.6672, allocations: 0 / 0.7312 GB, free: 8.695 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.0007905/0.668, allocations: 451 kB / 0.7316 GB, free: 8.203 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.668, allocations: 8.031 kB / 0.7316 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.6681, allocations: 24.73 kB / 0.7317 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.6685, allocations: 263.2 kB / 0.7319 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.6685, allocations: 16.36 kB / 0.7319 GB, free: 7.863 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.6686, allocations: 32.36 kB / 0.732 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.669, allocations: 206 kB / 0.7322 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.669, allocations: 192 / 0.7322 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.669, allocations: 19.91 kB / 0.7322 GB, free: 7.605 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.6691, allocations: 4 kB / 0.7322 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.6693, allocations: 99.88 kB / 0.7323 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009205/0.6702, allocations: 0.5313 MB / 0.7328 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.6709, allocations: 298.5 kB / 0.7331 GB, free: 6.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.6711, allocations: 112.8 kB / 0.7332 GB, free: 6.508 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.6711, allocations: 3.938 kB / 0.7332 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006713/0.6718, allocations: 486.3 kB / 0.7337 GB, free: 6.016 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.563e-06/0.6718, allocations: 4 kB / 0.7337 GB, free: 6.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0009008/0.6727, allocations: 0.5162 MB / 0.7342 GB, free: 5.488 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.6728, allocations: 59.41 kB / 0.7342 GB, free: 5.418 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.6729, allocations: 172.7 kB / 0.7344 GB, free: 5.238 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.673, allocations: 49.7 kB / 0.7344 GB, free: 5.184 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.673, allocations: 112.9 kB / 0.7345 GB, free: 5.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.173e-05/0.6731, allocations: 98.92 kB / 0.7346 GB, free: 4.973 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.6732, allocations: 57.69 kB / 0.7347 GB, free: 4.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6733, allocations: 334.8 kB / 0.735 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.6736, allocations: 133.1 kB / 0.7351 GB, free: 4.445 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.6738, allocations: 235.5 kB / 0.7354 GB, free: 4.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.6742, allocations: 251.6 kB / 0.7356 GB, free: 3.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6742, allocations: 0 / 0.7356 GB, free: 3.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0005608/0.6748, allocations: 386.6 kB / 0.736 GB, free: 3.523 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.6748, allocations: 8 kB / 0.736 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6748, allocations: 4 kB / 0.736 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.6748, allocations: 8.25 kB / 0.736 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.6749, allocations: 31.86 kB / 0.736 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.6749, allocations: 4 kB / 0.736 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.6751, allocations: 47.67 kB / 0.7361 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.6751, allocations: 20 kB / 0.7361 GB, free: 3.402 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,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.0001675/0.6753, allocations: 167 kB / 0.7363 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.6754, allocations: 31.7 kB / 0.7363 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.463e-05/0.6755, allocations: 34.31 kB / 0.7363 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6755, allocations: 11.94 kB / 0.7363 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.6755, allocations: 0 / 0.7363 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6755, allocations: 3.984 kB / 0.7363 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009469/0.6764, allocations: 0.7998 MB / 0.7371 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.6765, allocations: 0 / 0.7371 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.6765, allocations: 15.88 kB / 0.7371 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.6765, allocations: 3.984 kB / 0.7371 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.6765, allocations: 19.92 kB / 0.7372 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6766, allocations: 4 kB / 0.7372 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6766, allocations: 0 / 0.7372 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.6772, allocations: 0.5182 MB / 0.7377 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.6772, allocations: 96.86 kB / 0.7378 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.6773, allocations: 19.98 kB / 0.7378 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.6775, allocations: 23.98 kB / 0.7378 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.6776, allocations: 55.91 kB / 0.7378 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.6777, allocations: 27.97 kB / 0.7379 GB, free: 1.477 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.74e-05/0.6777, allocations: 105.5 kB / 0.738 GB, free: 1.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6777, allocations: 8 kB / 0.738 GB, free: 1.367 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003105/0.6781, allocations: 75.89 kB / 0.7381 GB, free: 1.293 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 (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.0002081/0.6783, allocations: 141.7 kB / 0.7382 GB, free: 1.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005486/0.6788, allocations: 355.3 kB / 0.7385 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.6788, allocations: 8.062 kB / 0.7385 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.6791, allocations: 219.8 kB / 0.7387 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.6795, allocations: 39.91 kB / 0.7388 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009063/0.6804, allocations: 0.5099 MB / 0.7393 GB, free: 0 / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.6807, allocations: 0.7335 MB / 0.74 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.6808, allocations: 38.95 kB / 0.74 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.6809, allocations: 39.42 kB / 0.7401 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.6809, allocations: 0 / 0.7401 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.006867/0.6878, allocations: 3.235 MB / 0.7432 GB, free: 11.94 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: