Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001127/0.001127, allocations: 112 kB / 16.38 MB, free: 5.539 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.001255/0.001255, allocations: 191.6 kB / 17.31 MB, free: 5.188 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.641/1.641, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.995/1.995, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.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.001562/0.001562, allocations: 67.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.294, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002344/0.2964, allocations: 0.7864 MB / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.2983, allocations: 1.336 MB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.2984, allocations: 0 / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.109e-05/0.2985, allocations: 15.8 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.688e-05/0.2986, allocations: 15.86 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.2997, allocations: 309.9 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.3001, allocations: 375.5 kB / 0.7876 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.3003, allocations: 53.09 kB / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.3005, allocations: 147.8 kB / 0.7878 GB, free: 120 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5611/0.8616, allocations: 141.7 kB / 0.7879 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.8619, allocations: 37.81 kB / 0.7879 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.8621, allocations: 47.12 kB / 0.788 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.023e-05/0.8622, allocations: 71.44 kB / 0.7881 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.8624, allocations: 132.6 kB / 0.7882 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.8628, allocations: 341.5 kB / 0.7885 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8629, allocations: 0 / 0.7885 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8629, allocations: 0 / 0.7885 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.8629, allocations: 0 / 0.7885 GB, free: 46.83 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.0007516/0.8636, allocations: 0.5336 MB / 0.789 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.8637, allocations: 8.156 kB / 0.789 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.8638, allocations: 31.58 kB / 0.7891 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.8644, allocations: 257.4 kB / 0.7893 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.8644, allocations: 24.05 kB / 0.7893 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.8645, allocations: 37.19 kB / 0.7894 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.8648, allocations: 214.3 kB / 0.7896 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.8649, allocations: 4.781 kB / 0.7896 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.8649, allocations: 11.12 kB / 0.7896 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.8649, allocations: 5.5 kB / 0.7896 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.8651, allocations: 97.16 kB / 0.7897 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.8658, allocations: 0.5673 MB / 0.7902 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.8663, allocations: 256.3 kB / 0.7905 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.8665, allocations: 118.2 kB / 0.7906 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.8665, allocations: 2.625 kB / 0.7906 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006917/0.8672, allocations: 0.4896 MB / 0.7911 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=44): time 2.124e-06/0.8672, allocations: 1.844 kB / 0.7911 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44): time 0.000975/0.8682, allocations: 0.5651 MB / 0.7916 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.8683, allocations: 57.62 kB / 0.7917 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.8684, allocations: 158.1 kB / 0.7918 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-05/0.8685, allocations: 60.72 kB / 0.7919 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.8686, allocations: 115.6 kB / 0.792 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.8687, allocations: 95.88 kB / 0.7921 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.8689, allocations: 126.5 kB / 0.7922 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.869, allocations: 337.3 kB / 0.7925 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.8694, allocations: 170.8 kB / 0.7927 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.8697, allocations: 282.3 kB / 0.793 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.8702, allocations: 368.2 kB / 0.7933 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8702, allocations: 0.625 kB / 0.7933 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008576/0.8711, allocations: 0.5638 MB / 0.7939 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.8712, allocations: 67.28 kB / 0.7939 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8712, allocations: 8.578 kB / 0.7939 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.8712, allocations: 4.281 kB / 0.7939 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.8713, allocations: 31.39 kB / 0.794 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.8713, allocations: 10.02 kB / 0.794 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.8717, allocations: 81.42 kB / 0.7941 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.8718, allocations: 27.92 kB / 0.7941 GB, free: 44.58 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.y,$PRE.truCleTruIni.y,$PRE.falCleFalIni.y,$PRE.truCleFalIni.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,tru.y,fal.y,truCleTruIni.clr,$PRE.truCleTruIni.clr,truCleFalIni.clr,$PRE.truCleFalIni.clr,falCleTruIni.clr,$PRE.falCleTruIni.clr,falCleFalIni.clr,$PRE.falCleFalIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp1.clr,$PRE.swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,swiCleInp.clr,$PRE.swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * 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.0001917/0.872, allocations: 172.5 kB / 0.7943 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.872, allocations: 24.53 kB / 0.7943 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.793e-05/0.8722, allocations: 41.94 kB / 0.7943 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.8722, allocations: 2.812 kB / 0.7943 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.8722, allocations: 4.5 kB / 0.7943 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.8722, allocations: 102.5 kB / 0.7944 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.336e-05/0.8723, allocations: 19.58 kB / 0.7944 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.8724, allocations: 14.41 kB / 0.7945 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.8725, allocations: 58.67 kB / 0.7945 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006078/0.8732, allocations: 0.5137 MB / 0.795 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006364/0.8738, allocations: 0.6169 MB / 0.7956 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000255/0.8741, allocations: 231.4 kB / 0.7958 GB, free: 44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.8741, allocations: 108.9 kB / 0.7959 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of Backend: time 6.51e-07/0.8741, allocations: 3.406 kB / 0.7959 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009929/0.8751, allocations: 0.5197 MB / 0.7965 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000788/0.8759, allocations: 0.7565 MB / 0.7972 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.0116/0.8875, allocations: 4.338 MB / 0.8014 GB, free: 42.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)