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.001908/0.001908, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.001983/0.001983, allocations: 213 kB / 23.02 MB, free: 2.957 MB / 13.93 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 1.709/1.709, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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 3.602/3.602, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.004626/0.004626, allocations: 67.89 kB / 1.177 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9902/0.9949, allocations: 180 MB / 1.353 GB, free: 1.551 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002438/0.9973, allocations: 0.7526 MB / 1.354 GB, free: 0.8008 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.9995, allocations: 1.249 MB / 1.355 GB, free: 15.54 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.9996, allocations: 0 / 1.355 GB, free: 15.54 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 5.748e-05/0.9996, allocations: 11.81 kB / 1.355 GB, free: 15.53 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.9997, allocations: 23.84 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008311/1.001, allocations: 253.8 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004363/1.001, allocations: 251.4 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/1.001, allocations: 41.02 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/1.001, allocations: 107.8 kB / 1.356 GB, free: 14.87 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/1.002, allocations: 87.67 kB / 1.356 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.833e-05/1.002, allocations: 24 kB / 1.356 GB, free: 14.76 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/1.002, allocations: 43.98 kB / 1.356 GB, free: 14.72 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/1.002, allocations: 35.91 kB / 1.356 GB, free: 14.68 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/1.002, allocations: 87.67 kB / 1.356 GB, free: 14.6 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004389/1.002, allocations: 249.8 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.002, allocations: 0 / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.523e-06/1.002, allocations: 0 / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.002, allocations: 4 kB / 1.356 GB, free: 14.35 MB / 1.042 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.0007954/1.003, allocations: 421.3 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.003, allocations: 12.92 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/1.003, allocations: 16.84 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007935/1.004, allocations: 182.5 kB / 1.357 GB, free: 13.66 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/1.004, allocations: 12.38 kB / 1.357 GB, free: 13.65 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/1.004, allocations: 20.38 kB / 1.357 GB, free: 13.63 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/1.004, allocations: 112.5 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/1.005, allocations: 3.938 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/1.005, allocations: 8 kB / 1.357 GB, free: 13.51 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.005, allocations: 4 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/1.005, allocations: 59.91 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/1.005, allocations: 376 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/1.006, allocations: 126.6 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/1.006, allocations: 52.83 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/1.006, allocations: 4 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/1.006, allocations: 187.7 kB / 1.358 GB, free: 12.66 MB / 1.042 GB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/1.006, allocations: 0 / 1.358 GB, free: 12.66 MB / 1.042 GB Notification: Performance of matching and sorting (n=32): time 0.00068/1.007, allocations: 329.5 kB / 1.358 GB, free: 12.33 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/1.007, allocations: 63.41 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/1.007, allocations: 155.8 kB / 1.358 GB, free: 12.1 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/1.007, allocations: 37.7 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/1.007, allocations: 113 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/1.007, allocations: 67.53 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/1.007, allocations: 102 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.008, allocations: 334.8 kB / 1.359 GB, free: 11.43 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/1.008, allocations: 168.2 kB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/1.008, allocations: 225 kB / 1.359 GB, free: 11 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/1.009, allocations: 290.8 kB / 1.359 GB, free: 10.68 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.009, allocations: 4 kB / 1.359 GB, free: 10.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007764/1.009, allocations: 489.7 kB / 1.36 GB, free: 10.17 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/1.009, allocations: 63.39 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.009, allocations: 4 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/1.009, allocations: 4 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/1.01, allocations: 11.94 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/1.01, allocations: 15.86 kB / 1.36 GB, free: 10.06 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/1.01, allocations: 71.97 kB / 1.36 GB, free: 9.988 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/1.01, allocations: 27.92 kB / 1.36 GB, free: 9.961 MB / 1.042 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,tru.y,fal.y,truCleTruIni.clr,truCleFalIni.clr,falCleTruIni.clr,falCleFalIni.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) * 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 0.0001742/1.01, allocations: 153.7 kB / 1.36 GB, free: 9.805 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/1.01, allocations: 19.89 kB / 1.36 GB, free: 9.785 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/1.01, allocations: 21.97 kB / 1.36 GB, free: 9.762 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.01, allocations: 4 kB / 1.36 GB, free: 9.758 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.01, allocations: 7.875 kB / 1.36 GB, free: 9.75 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.01, allocations: 4 kB / 1.36 GB, free: 9.746 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008493/1.011, allocations: 0.55 MB / 1.361 GB, free: 9.156 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.011, allocations: 0 / 1.361 GB, free: 9.156 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/1.011, allocations: 7.938 kB / 1.361 GB, free: 9.148 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.011, allocations: 4 kB / 1.361 GB, free: 9.145 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/1.011, allocations: 7.984 kB / 1.361 GB, free: 9.137 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.011, allocations: 4 kB / 1.361 GB, free: 9.133 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.011, allocations: 0 / 1.361 GB, free: 9.133 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/1.012, allocations: 364.4 kB / 1.361 GB, free: 8.762 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/1.012, allocations: 19.83 kB / 1.361 GB, free: 8.742 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/1.012, allocations: 8 kB / 1.361 GB, free: 8.734 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/1.012, allocations: 4 kB / 1.361 GB, free: 8.73 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/1.012, allocations: 23.95 kB / 1.361 GB, free: 8.707 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/1.012, allocations: 16 kB / 1.361 GB, free: 8.691 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001639/1.012, allocations: 99.17 kB / 1.361 GB, free: 8.594 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/1.012, allocations: 0 / 1.361 GB, free: 8.594 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003588/1.012, allocations: 63.98 kB / 1.361 GB, free: 8.531 MB / 1.042 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 0.0001983/1.013, allocations: 125.1 kB / 1.361 GB, free: 8.402 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006507/1.013, allocations: 414.9 kB / 1.362 GB, free: 7.961 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.013, allocations: 0 / 1.362 GB, free: 7.961 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/1.013, allocations: 87.89 kB / 1.362 GB, free: 7.875 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/1.014, allocations: 30.58 kB / 1.362 GB, free: 7.848 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006973/1.014, allocations: 326 kB / 1.362 GB, free: 7.5 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/1.015, allocations: 112.4 kB / 1.362 GB, free: 7.371 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.041e-05/1.015, allocations: 18.3 kB / 1.362 GB, free: 7.352 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/1.015, allocations: 27.42 kB / 1.362 GB, free: 7.324 MB / 1.042 GB Notification: Performance of SimCode: time 6.21e-07/1.015, allocations: 0 / 1.362 GB, free: 7.324 MB / 1.042 GB Notification: Performance of Templates: time 0.008046/1.023, allocations: 2.938 MB / 1.365 GB, free: 4.441 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.74234055262059]