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.009235/0.009235, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001613/0.001614, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.668/1.668, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.604/1.604, allocations: 251.7 MB / 0.5094 GB, free: 3.082 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.002044/0.002045, allocations: 71.89 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2639, allocations: 104.7 MB / 0.8281 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.003115/0.2671, allocations: 1.503 MB / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007589/0.2679, allocations: 348 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.268, allocations: 0 / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.408e-05/0.268, allocations: 15.8 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.871e-05/0.2681, allocations: 19.81 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.2684, allocations: 107.8 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.2687, allocations: 251.6 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.2689, allocations: 45.09 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.269, allocations: 115.7 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.2691, allocations: 99.67 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.2692, allocations: 24 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.735e-05/0.2692, allocations: 32 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.354e-05/0.2693, allocations: 75.78 kB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.2694, allocations: 95.67 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.2697, allocations: 247.1 kB / 0.8309 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2697, allocations: 4 kB / 0.8309 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2697, allocations: 0 / 0.8309 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.2697, allocations: 0 / 0.8309 GB, free: 13.2 MB / 0.6544 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.0008357/0.2706, allocations: 498.8 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2706, allocations: 12.03 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.2707, allocations: 24.75 kB / 0.8315 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.2711, allocations: 248 kB / 0.8317 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.2712, allocations: 24.3 kB / 0.8317 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.2712, allocations: 32.3 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.2716, allocations: 211.7 kB / 0.832 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2716, allocations: 192 / 0.832 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.2717, allocations: 19.91 kB / 0.832 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2717, allocations: 8 kB / 0.832 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.272, allocations: 95.94 kB / 0.8321 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008908/0.2729, allocations: 0.5158 MB / 0.8326 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/0.2736, allocations: 282.5 kB / 0.8328 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.2738, allocations: 108.8 kB / 0.8329 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.2738, allocations: 0 / 0.8329 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000761/0.2746, allocations: 486.1 kB / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 3.948e-06/0.2746, allocations: 0 / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.001033/0.2756, allocations: 0.5242 MB / 0.8339 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.2757, allocations: 55.41 kB / 0.834 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.2759, allocations: 160.1 kB / 0.8341 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.276e-05/0.276, allocations: 57.69 kB / 0.8342 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.2761, allocations: 112.9 kB / 0.8343 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.524e-05/0.2762, allocations: 98.94 kB / 0.8344 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.2763, allocations: 98.16 kB / 0.8345 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2765, allocations: 334.8 kB / 0.8348 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.2767, allocations: 133.1 kB / 0.8349 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.2771, allocations: 231.4 kB / 0.8351 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.2774, allocations: 251.6 kB / 0.8354 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2775, allocations: 0 / 0.8354 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0005888/0.278, allocations: 398.6 kB / 0.8358 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.2781, allocations: 8 kB / 0.8358 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.2781, allocations: 4 kB / 0.8358 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.2781, allocations: 7.938 kB / 0.8358 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.2782, allocations: 31.84 kB / 0.8358 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.2782, allocations: 4 kB / 0.8358 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.2784, allocations: 40.05 kB / 0.8359 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.2784, allocations: 20 kB / 0.8359 GB, free: 7.852 MB / 0.6544 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.0002079/0.2787, allocations: 170.9 kB / 0.836 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.2787, allocations: 23.81 kB / 0.8361 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.2788, allocations: 34.31 kB / 0.8361 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.2788, allocations: 7.938 kB / 0.8361 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.2789, allocations: 7.938 kB / 0.8361 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.2789, allocations: 3.984 kB / 0.8361 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.2799, allocations: 0.7995 MB / 0.8369 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.28, allocations: 3.984 kB / 0.8369 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.28, allocations: 23.86 kB / 0.8369 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.28, allocations: 0 / 0.8369 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.2801, allocations: 19.97 kB / 0.8369 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2801, allocations: 4 kB / 0.8369 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2801, allocations: 0 / 0.8369 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.2807, allocations: 0.5067 MB / 0.8374 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.2808, allocations: 96.8 kB / 0.8375 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.2808, allocations: 19.98 kB / 0.8376 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.281, allocations: 19.97 kB / 0.8376 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.2811, allocations: 59.7 kB / 0.8376 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.2812, allocations: 31.97 kB / 0.8377 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.15e-05/0.2813, allocations: 113.3 kB / 0.8378 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2813, allocations: 0 / 0.8378 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003232/0.2816, allocations: 72 kB / 0.8378 GB, free: 5.742 MB / 0.6544 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.0002073/0.2818, allocations: 137.8 kB / 0.838 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005912/0.2824, allocations: 360 kB / 0.8383 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2824, allocations: 4.062 kB / 0.8383 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.2827, allocations: 219.6 kB / 0.8385 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.2831, allocations: 47.83 kB / 0.8386 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.2843, allocations: 472.6 kB / 0.839 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.2848, allocations: 0.741 MB / 0.8397 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000123/0.2849, allocations: 34.95 kB / 0.8398 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.285, allocations: 39.42 kB / 0.8398 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of SimCode: time 6.81e-07/0.285, allocations: 8 kB / 0.8398 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of Templates: time 0.00736/0.2924, allocations: 3.296 MB / 0.843 GB, free: 364 kB / 0.6544 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)