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.007007/0.007007, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001232/0.001232, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.623/1.623, allocations: 251.7 MB / 0.5094 GB, free: 3.035 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.001446/0.001446, allocations: 68.23 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3225, allocations: 104.7 MB / 0.8281 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.003052/0.3256, allocations: 1.499 MB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.3265, allocations: 355.9 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.3266, allocations: 0 / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.388e-05/0.3267, allocations: 7.875 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.3268, allocations: 27.78 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.3272, allocations: 115.8 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.3275, allocations: 247.6 kB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.3277, allocations: 53.02 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.3279, allocations: 103.8 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.328, allocations: 103.7 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.813e-05/0.3281, allocations: 28 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.809e-05/0.3282, allocations: 27.94 kB / 0.8306 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.3282, allocations: 67.86 kB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.3284, allocations: 99.66 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.3287, allocations: 251.1 kB / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3287, allocations: 0 / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3287, allocations: 0 / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.3287, allocations: 0 / 0.831 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.0009273/0.3297, allocations: 494.8 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3297, allocations: 12.03 kB / 0.8314 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.447e-05/0.3298, allocations: 24.73 kB / 0.8315 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.3302, allocations: 251.9 kB / 0.8317 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.3303, allocations: 28.3 kB / 0.8317 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.3303, allocations: 24.36 kB / 0.8317 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.3307, allocations: 206.9 kB / 0.8319 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3307, allocations: 192 / 0.8319 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.3308, allocations: 19.91 kB / 0.832 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.3308, allocations: 7.938 kB / 0.832 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.331, allocations: 104.5 kB / 0.8321 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008664/0.3319, allocations: 0.5158 MB / 0.8326 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006527/0.3325, allocations: 282.4 kB / 0.8328 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.3327, allocations: 108.8 kB / 0.8329 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3328, allocations: 4 kB / 0.833 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007531/0.3335, allocations: 482.1 kB / 0.8334 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.3335, allocations: 0 / 0.8334 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.0009445/0.3345, allocations: 0.5204 MB / 0.8339 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.3346, allocations: 63.33 kB / 0.834 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3348, allocations: 156.1 kB / 0.8341 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/0.3348, allocations: 53.7 kB / 0.8342 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.335, allocations: 116.9 kB / 0.8343 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.335, allocations: 94.94 kB / 0.8344 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.3352, allocations: 102.2 kB / 0.8345 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3353, allocations: 334.8 kB / 0.8348 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.3356, allocations: 137.1 kB / 0.8349 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.3359, allocations: 223.5 kB / 0.8351 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.3362, allocations: 255.6 kB / 0.8354 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.3363, allocations: 7.938 kB / 0.8354 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0005452/0.3368, allocations: 390.6 kB / 0.8358 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3368, allocations: 4 kB / 0.8358 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3368, allocations: 4 kB / 0.8358 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.3369, allocations: 7.938 kB / 0.8358 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.337, allocations: 32.17 kB / 0.8358 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.337, allocations: 8 kB / 0.8358 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.3371, allocations: 35.73 kB / 0.8359 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.3372, allocations: 19.94 kB / 0.8359 GB, free: 7.859 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.0001758/0.3374, allocations: 171 kB / 0.836 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.3374, allocations: 27.8 kB / 0.8361 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.577e-05/0.3375, allocations: 34.31 kB / 0.8361 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3375, allocations: 7.938 kB / 0.8361 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.3375, allocations: 3.938 kB / 0.8361 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.3375, allocations: 3.984 kB / 0.8361 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000977/0.3385, allocations: 0.8035 MB / 0.8369 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3385, allocations: 3.938 kB / 0.8369 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.3386, allocations: 23.86 kB / 0.8369 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3386, allocations: 4 kB / 0.8369 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.3386, allocations: 23.97 kB / 0.8369 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3387, allocations: 0 / 0.8369 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3387, allocations: 0 / 0.8369 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.3393, allocations: 0.4989 MB / 0.8374 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.3394, allocations: 96.8 kB / 0.8375 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.3395, allocations: 19.98 kB / 0.8375 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3396, allocations: 19.97 kB / 0.8376 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.3398, allocations: 63.7 kB / 0.8376 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.3398, allocations: 31.97 kB / 0.8377 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.514e-05/0.3399, allocations: 109.3 kB / 0.8378 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3399, allocations: 0 / 0.8378 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003252/0.3403, allocations: 75.98 kB / 0.8378 GB, free: 5.746 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.0002268/0.3405, allocations: 145.7 kB / 0.838 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005931/0.3411, allocations: 355.5 kB / 0.8383 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3411, allocations: 0 / 0.8383 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.3414, allocations: 223.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.0003681/0.3418, allocations: 39.89 kB / 0.8386 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009699/0.3428, allocations: 477.2 kB / 0.839 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3431, allocations: 0.7332 MB / 0.8397 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000104/0.3432, allocations: 34.97 kB / 0.8398 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3433, allocations: 43.41 kB / 0.8398 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.3433, allocations: 0 / 0.8398 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.007233/0.3506, allocations: 3.307 MB / 0.843 GB, free: 368 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)