Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 84.8 kB / 21.62 MB, free: 2.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009966/0.0009966, allocations: 176.8 kB / 25.05 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9435/0.9435, allocations: 177.1 MB / 205.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.97/1.97, allocations: 389.6 MB / 0.6363 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.7761 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.076e-05, allocations: 3.062 kB / 0.7761 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001395/0.001416, allocations: 0.8173 MB / 0.7769 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.002566, allocations: 1.285 MB / 0.7782 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.002609, allocations: 0 / 0.7782 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.052e-05/0.002649, allocations: 7.875 kB / 0.7782 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.218e-05/0.002721, allocations: 26.58 kB / 0.7782 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.003146, allocations: 240.1 kB / 0.7785 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.003359, allocations: 258.8 kB / 0.7787 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.003463, allocations: 41.92 kB / 0.7788 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.003601, allocations: 155.7 kB / 0.7789 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.003715, allocations: 74.56 kB / 0.779 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.003744, allocations: 20 kB / 0.779 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-05/0.00382, allocations: 35.97 kB / 0.779 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.00385, allocations: 31.91 kB / 0.7791 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.003906, allocations: 71.86 kB / 0.7791 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.004076, allocations: 187.4 kB / 0.7793 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004078, allocations: 0 / 0.7793 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.02e-07/0.004078, allocations: 0 / 0.7793 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.004082, allocations: 2.625 kB / 0.7793 GB, free: 2.07 MB / 0.7292 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.0003698/0.004452, allocations: 395.7 kB / 0.7797 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.004485, allocations: 13.34 kB / 0.7797 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.004526, allocations: 28.91 kB / 0.7797 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.004669, allocations: 149.5 kB / 0.7799 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.004682, allocations: 12.38 kB / 0.7799 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.004708, allocations: 24.98 kB / 0.7799 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.145e-05/0.004799, allocations: 85.03 kB / 0.78 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004805, allocations: 0.875 kB / 0.78 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.004814, allocations: 4.906 kB / 0.78 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.004818, allocations: 384 / 0.78 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.258e-05/0.004851, allocations: 32.55 kB / 0.78 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.005155, allocations: 264.7 kB / 0.7803 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.005263, allocations: 95.86 kB / 0.7804 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.005296, allocations: 35.8 kB / 0.7804 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.005303, allocations: 4 kB / 0.7804 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.005439, allocations: 158 kB / 0.7806 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/0.005441, allocations: 0 / 0.7806 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0001856/0.005627, allocations: 178.6 kB / 0.7807 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.005666, allocations: 69.06 kB / 0.7808 GB, free: 452 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.005744, allocations: 162.5 kB / 0.7809 GB, free: 276 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.005766, allocations: 33.7 kB / 0.781 GB, free: 236 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.005812, allocations: 109 kB / 0.7811 GB, free: 124 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.005844, allocations: 71.45 kB / 0.7811 GB, free: 52 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/0.005932, allocations: 94.81 kB / 0.7812 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.006008, allocations: 330.8 kB / 0.7816 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.006093, allocations: 124.7 kB / 0.7817 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.006203, allocations: 185.4 kB / 0.7818 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.006351, allocations: 241.1 kB / 0.7821 GB, free: 15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.006354, allocations: 4.969 kB / 0.7821 GB, free: 15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000244/0.006598, allocations: 378.8 kB / 0.7824 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.006637, allocations: 70.05 kB / 0.7825 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.006643, allocations: 4 kB / 0.7825 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.224e-06/0.00665, allocations: 0 / 0.7825 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.162e-05/0.006681, allocations: 17.09 kB / 0.7825 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.006687, allocations: 7.938 kB / 0.7825 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.006843, allocations: 65.52 kB / 0.7826 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.006864, allocations: 23.98 kB / 0.7826 GB, free: 14.41 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,falCleFalIni.clr,falCleTruIni.clr,truCleFalIni.clr,truCleTruIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,fal.y,tru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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 8.344e-05/0.006948, allocations: 146.9 kB / 0.7828 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.006966, allocations: 25.47 kB / 0.7828 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.006996, allocations: 21.95 kB / 0.7828 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.006999, allocations: 4 kB / 0.7828 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.007001, allocations: 0 / 0.7828 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.007004, allocations: 1.406 kB / 0.7828 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.007318, allocations: 378.8 kB / 0.7832 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.007319, allocations: 0.6875 kB / 0.7832 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.68e-05/0.007336, allocations: 19.86 kB / 0.7832 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.007338, allocations: 1.094 kB / 0.7832 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.007348, allocations: 8 kB / 0.7832 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.007349, allocations: 1.031 kB / 0.7832 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.00735, allocations: 0 / 0.7832 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.00748, allocations: 245.6 kB / 0.7834 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.007491, allocations: 17.2 kB / 0.7835 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.007503, allocations: 8 kB / 0.7835 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.007538, allocations: 4 kB / 0.7835 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.007571, allocations: 27.89 kB / 0.7835 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.007584, allocations: 9.312 kB / 0.7835 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.964e-05/0.007604, allocations: 24.84 kB / 0.7835 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007604, allocations: 0 / 0.7835 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001705/0.007774, allocations: 65.3 kB / 0.7836 GB, free: 13.38 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 24 * 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 9.628e-05/0.00787, allocations: 103.7 kB / 0.7837 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002638/0.008134, allocations: 369.6 kB / 0.784 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.008137, allocations: 4 kB / 0.784 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.451e-05/0.008192, allocations: 64.77 kB / 0.7841 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.00835, allocations: 29.69 kB / 0.7841 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.00867, allocations: 298.9 kB / 0.7844 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.00871, allocations: 76.94 kB / 0.7845 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.4e-05/0.008754, allocations: 27.22 kB / 0.7845 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.008861, allocations: 96.16 kB / 0.7846 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.008861, allocations: 0 / 0.7846 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.004321/0.01318, allocations: 3.064 MB / 0.7876 GB, free: 9.352 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.914788287132978]